Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT embedded in the EAR application
BIRT embedded in the EAR application [message #114311] Tue, 24 January 2006 15:51 Go to next message
Piotr Bzdyl is currently offline Piotr BzdylFriend
Messages: 6
Registered: July 2009
Junior Member
Hello,

I would like to know how should I embed BIRT in the EAR application? How
should I specify engine home?

Another question: do you plan to upload BIRT libraries to the Maven
repository?

Best regards,
Piotr Bzdyl
Re: BIRT embedded in the EAR application [message #119416 is a reply to message #114311] Sun, 29 January 2006 10:26 Go to previous messageGo to next message
Piotr Bzdyl is currently offline Piotr BzdylFriend
Messages: 6
Registered: July 2009
Junior Member
> Hello,
>
> I would like to know how should I embed BIRT in the EAR application? How
> should I specify engine home?

Nobody uses BIRT as embedded library in the EAR application? Or maybe it
is not possible to use it within the EAR?

Best regards,
Piotrek
Re: BIRT embedded in the EAR application [message #121543 is a reply to message #114311] Tue, 31 January 2006 11:19 Go to previous messageGo to next message
Piotr Bzdyl is currently offline Piotr BzdylFriend
Messages: 6
Registered: July 2009
Junior Member
Hi all,

> I would like to know how should I embed BIRT in the EAR application? How
> should I specify engine home?


Any clues?

Best regards,
Piotr
Re: BIRT embedded in the EAR application [message #121575 is a reply to message #121543] Tue, 31 January 2006 12:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.n.com

There are a few ways and options.

Place all required reports and the engine in the EAR/WAR and then access
it via relative positioning, property file or servlet params. Since the
Engine is not thread safe, it should be loaded on start via a
ContextListener.

Place the engine and the reports in a directory that the User whom the
App Server is runnning under has access to. Provide the directory info
via a property file or servlet params (see previous).

Have the engine running as an app ("webapp", daemon/service, jini, etc)
and call it from the Enterprise App. Then you can look it up as a service.

Piotr Bzdyl wrote:
> Hi all,
>
>> I would like to know how should I embed BIRT in the EAR application?
>> How should I specify engine home?
>
>
>
> Any clues?
>
> Best regards,
> Piotr
Re: BIRT embedded in the EAR application [message #121726 is a reply to message #121575] Tue, 31 January 2006 16:25 Go to previous messageGo to next message
Piotr Bzdyl is currently offline Piotr BzdylFriend
Messages: 6
Registered: July 2009
Junior Member
> There are a few ways and options.
>
> Place all required reports and the engine in the EAR/WAR and then access
> it via relative positioning, property file or servlet params. Since the
> Engine is not thread safe, it should be loaded on start via a
> ContextListener.
> Place the engine and the reports in a directory that the User whom the
> App Server is runnning under has access to. Provide the directory info
> via a property file or servlet params (see previous).


What if I would like to run the engine in the ejb-jar instead of the
WAR? I would like to expose it as the session bean. Isn't it possible to
extend BIRT so I could provide URL as the engine home? Then I could
package BIRT plugins as JAR within my EAR and provide URL using
Class.getResource() method. I want to avoid specifying absolute path in
separate file - I deploy my app as EAR file in different servers with
different environments. Is there any chance that this would be implemented?

I would preffer to include BIRT as a library in the EAR than place it in
the J2EE server directory - I would like to do upgrades of my app just
by replacing old EAR. It will be much harder to update my application if
there is something more then my EAR.


And about thread safety: I read in the tutorial (Integrating BIRT) that
I can use ReportEngine to render many reports - but I can't find
information whether it is thread safe or not. I would like to create
single instance which could be used to render many reports at the same
time. Is this good solution? As I know creating ReportEngine is time and
resource consuming, thus creating new instance every time new report is
rendered is not a good solution.

Best regards,
Piotr
Re: BIRT embedded in the EAR application [message #123556 is a reply to message #121726] Fri, 03 February 2006 07:53 Go to previous messageGo to next message
Piotr Bzdyl is currently offline Piotr BzdylFriend
Messages: 6
Registered: July 2009
Junior Member
Hello,


>> There are a few ways and options.
>>
>> Place all required reports and the engine in the EAR/WAR and then
>> access it via relative positioning, property file or servlet params.
>> Since the Engine is not thread safe, it should be loaded on start via
>> a ContextListener.
> > Place the engine and the reports in a directory that the User whom the
> > App Server is runnning under has access to. Provide the directory info
> > via a property file or servlet params (see previous).
>
>
> What if I would like to run the engine in the ejb-jar instead of the
> WAR? I would like to expose it as the session bean. Isn't it possible to
> extend BIRT so I could provide URL as the engine home? Then I could
> package BIRT plugins as JAR within my EAR and provide URL using
> Class.getResource() method. I want to avoid specifying absolute path in
> separate file - I deploy my app as EAR file in different servers with
> different environments. Is there any chance that this would be implemented?
>
> I would preffer to include BIRT as a library in the EAR than place it in
> the J2EE server directory - I would like to do upgrades of my app just
> by replacing old EAR. It will be much harder to update my application if
> there is something more then my EAR.
>
>
> And about thread safety: I read in the tutorial (Integrating BIRT) that
> I can use ReportEngine to render many reports - but I can't find
> information whether it is thread safe or not. I would like to create
> single instance which could be used to render many reports at the same
> time. Is this good solution? As I know creating ReportEngine is time and
> resource consuming, thus creating new instance every time new report is
> rendered is not a good solution.

I have an impression that I am the only person using BIRT in the EAR
application... Anybody has an idea like to solve above problems?

Best regards,
Piotrek
Re: BIRT embedded in the EAR application [message #124546 is a reply to message #123556] Mon, 06 February 2006 07:36 Go to previous message
Eclipse UserFriend
Originally posted by: vsanjeev.indiatimes.com

Even I am findin hard to embed reports with EAR application. I would like
to do following:

1. create a report design(only design) using BIRT.

2. Then in my web app I want to pass the connection(datasource),
parameters to design to generate the report.

I am finding it hard to do second step. If you have done similar thing,
could you pl. tell me how can I achive this.
Previous Topic:Using XML Datasource for RCP
Next Topic:EAR and BIRT report embedding
Goto Forum:
  


Current Time: Thu Jul 18 19:20:33 GMT 2024

Powered by FUDForum. Page generated in 0.04245 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top