Integrating BIRT in a standalone JAVA App with scripted DS [message #195761] |
Mon, 16 October 2006 12:36  |
Eclipse User |
|
|
|
Originally posted by: Alexander.Preuk.web.de
Hello,
i'm trying to integrate BIRT with scripted Datasources in an existing
standalone Java App . My goal is to allow (experienced) users to configure
the Datasources at runtime.
Till now i got the engine running and the pdf/html Export is working with
very simple Reports (hello_world.rptdesign) an with some more complex
Reports (RDBMS as Source, Grouping, Pics, etc).
Now i am trying to run the Scripted Datasource Sample
(ScriptedDatasourceExampleAfter.rptdesign) on my little standalone app.
Are there any further examples on integrating BIRT in standalone apps with
scripted Datasources?
best regards,
Midrag
|
|
|
|
|
Re: Integrating BIRT in a standalone JAVA App with scripted DS [message #195818 is a reply to message #195811] |
Mon, 16 October 2006 16:01  |
Eclipse User |
|
|
|
The scripted data set could be written to use reflection or to call a class
that uses reflection.
I dont currently have an example of this though. Another option would be to
write an ODA driver that uses reflection.
Jason
"Midrag" <Alexander.Preuk@web.de> wrote in message
news:eh0nfd$qta$1@utils.eclipse.org...
> Thanks! now the scripted DataSource Sample is also working on my
> standalone app.
>
> Is it really necessary to have a compiled .class file for each scripted
> Datasource?
> Is there any known workaround to allow new scripted Datasources at runtime
> without the need to compile a proprietary Java-Class?
>
> "Jason Weathersby" <jweathersby@actuate.com> schrieb im Newsbeitrag
> news:eh0dk9$64l$1@utils.eclipse.org...
>> One thing that you may want to do is to add
>> System.setProperty( EngineConstants.WEBAPP_CLASSPATH_KEY,
>>
>> scriptlibClassPath );
>>
>> The Viewer uses this to add the script lib directory to the class path.
>>
>> Jason
>>
>> "Midrag" <Alexander.Preuk@web.de> wrote in message
>> news:eh0ci8$ukt$1@utils.eclipse.org...
>>> Hello,
>>>
>>> i'm trying to integrate BIRT with scripted Datasources in an existing
>>> standalone Java App . My goal is to allow (experienced) users to
>>> configure the Datasources at runtime.
>>> Till now i got the engine running and the pdf/html Export is working
>>> with very simple Reports (hello_world.rptdesign) an with some more
>>> complex Reports (RDBMS as Source, Grouping, Pics, etc).
>>> Now i am trying to run the Scripted Datasource Sample
>>> (ScriptedDatasourceExampleAfter.rptdesign) on my little standalone app.
>>> Are there any further examples on integrating BIRT in standalone apps
>>> with scripted Datasources?
>>>
>>> best regards,
>>>
>>> Midrag
>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03292 seconds