[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.dtp] Re: ODA Plugin Project Structure / References / Deployment
|
- From: Chris <birt@xxxxxxxxx>
- Date: Sun, 27 Jul 2008 10:00:46 +0200
- Newsgroups: eclipse.dtp
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Hello Linda,
First of all thanks a lot for your help.
With "standard Java Project" I mean a project created by
"File->New->Java Project".
Our DataCalculator is implemented in such a project, and it is still
under development.
Of course I can always create a JAR file from this project and add this
JAR file as reference to the oda plugin project, but somehow this
doesn't feel "right" to me. (I have to recreate the JAR on every code
change etc.). That's why I thought this can't be the way to go.
I also checked the IDE help about this topic, but simply found nothing
(likely my fault - I check again).
Maybe you can give me a hint about the other question (I re-formulate it
as I likely didn't express myself well):
-) At runtime we have an already initialized Instance of DataCalculator
-) This class is part of our EAR file deployed into our JBoss (pretty
much standard).
-) We want to "inject" this concrete instance of DataCalculator into the
ODA Data Source associated with the Report right before the report is
used to create HTML/PDF/whatever.
The idea behind this is, that DataCalculator knows everything about our
data already, and we don't want to re-implement this logic within the
ODA plugin. Consequently our ODA plugin acts just as a kind of "bridge"
to BIRT using the data provided by DataCalculator.
a) Do you think this approach is the "way to go" ?
b) What is the preferred way to "inject" DataProvider ? (the class
basically is a POJO).
Again - thanks a lot for your hints,
Chris