Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT in MultiThreading Application(Running different reports at the same time)
BIRT in MultiThreading Application [message #790777] Sat, 04 February 2012 20:59 Go to next message
Alessio Pollero is currently offline Alessio PolleroFriend
Messages: 74
Registered: August 2011
Member
Is it possible to execute several reports at the same time ?

I have tried to launch different reports execution at the same time but the engine seems to process they sequentially in a synchronous way ... Is there a way to enable multithreading in the engine and run different reports at the same time ?
Re: BIRT in MultiThreading Application [message #791906 is a reply to message #790777] Mon, 06 February 2012 11:58 Go to previous messageGo to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
Absolutely possible. We are running parallel reports in weblogic
Re: BIRT in MultiThreading Application [message #792627 is a reply to message #791906] Tue, 07 February 2012 07:56 Go to previous messageGo to next message
Alessio Pollero is currently offline Alessio PolleroFriend
Messages: 74
Registered: August 2011
Member
I have integrated BIRT into my application with the API, is it possible ? I've tried to execute several reports at the same time, but reports are executed sequentially ...
Re: BIRT in MultiThreading Application [message #793181 is a reply to message #792627] Tue, 07 February 2012 21:22 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Take a look at the attached example. It was done with BIRT 2.6.1.
Clear the birt home config setting if you are using 3.7 or >

Jason

On 2/7/2012 2:56 AM, Alessio Pollero wrote:
> I have integrated BIRT into my application with the API, is it possible
> ? I've tried to execute several reports at the same time, but reports
> are executed sequentially ...
Re: BIRT in MultiThreading Application [message #795323 is a reply to message #793181] Fri, 10 February 2012 10:27 Go to previous messageGo to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
That's an interesting topic, i understand the sample but i just want to be sure it is only useful for a standalone application: in a j2ee tomcat context such web viewer, tomcat automatically embeds requests in new threads, am i right? Therefore we don't have to create new threads ourselves to use parallel report generation with a birt engine? Sorry if my question is stupid, may be i misunderstood something important

[Updated on: Fri, 10 February 2012 10:27]

Report message to a moderator

Re: BIRT in MultiThreading Application [message #795556 is a reply to message #795323] Fri, 10 February 2012 15:53 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You are correct. This was only an example to illustrate the engine
supports multiple threads. The Web container should take care of this
for you. If you are writing a servlet you may want to look at
http://wiki.eclipse.org/Servlet_Example_%28BIRT%29_2.1
Which shows how to wrap engine access in a singleton. No threads are
created by the code (this is done by the app server). Also keep in mind
in that servlet example it is showing deployment prior to 3.7, which now
has a POJO runtime which does not require the Platform directory.

Jason

On 2/10/2012 5:27 AM, donino donino wrote:
> That's an interesting topic, i understand the sample but i just want to
> be sure it is only useful for a standalone application: in a j2ee tomcat
> context such web viewer, tomcat automatically embeds requests in new
> threads, am i right? Therefore we don't have to create new threads
> ourselves to use parallel report generation with a birt enine? Sorry if
> my question is stupid, may be i misunderstood something important
Previous Topic:Facing error as exporting to XLS
Next Topic:birt
Goto Forum:
  


Current Time: Thu Apr 25 00:12:52 GMT 2024

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

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

Back to the top