|
Re: BRIT Performance & New Birt Infrastructure [message #628693 is a reply to message #628636] |
Thu, 23 September 2010 17:09 |
|
If you are using the viewer the first time you run a report the engine
starts up which takes longer to run the first report. After that it
should be fine. You can write your own servlet or Java app to run the
engine as well. There are a lot of example on the Birt-Exchange.org
devshare. You can also look at these:
http://wiki.eclipse.org/Servlet_Example_%28BIRT%29_2.1
Make sure to look at the bottom for updated code.
http://wiki.eclipse.org/Integration_Examples_%28BIRT%29
Also understand that starting up the platform is expensive and should
only be done once for the lifetime of the application. A lot of the
simple examples startup the platform execute a birt function and then
shutdown. This is ok for illustrating how the engine works but not a
good idea in a application.
Jason
On 9/23/2010 9:51 AM, Gaurav Sahni wrote:
> We have just learning the BIRT tool. We have download the eclipse birt
> package and developed some rpeorts and also run on the Birt viewer using
> the Tomcat. But reports are very slow for a small data. Could you please
> describe how to increasse the performance and also can we used cachinh
> in Birt if yes then how to implements the cache
> and second question is how to set the infrastructre for the BIRt like
> can we use java with Birt if yes then what is the role of Java
> Please help us to solve these queries as we have to move the congnos
> reports to BIRT
>
|
|
|
|
|
|
Re: BRIT Performance & New Birt Infrastructure [message #629260 is a reply to message #629222] |
Mon, 27 September 2010 15:40 |
|
Gaurav,
If you write your own servlet you will need to provide code to
interrogate the design and present your own parameter dialog. The
viewer does this using AJAX code and is one of the advantages of using
the viewer.
Here is an example that shows how to get the parameter options from the
design:
http://wiki.eclipse.org/Parameter_Details_%28BIRT%29_2.1
It is a little old but should still work. This example is also
available compiled under 2.5.2 on Birt Exchange here:
http://www.birt-exchange.org/org/devshare/deploying-birt-rep orts/1187-eclipsecon-2010-birt-metal-ppt/
That example contains a ppt and many api examples. Look at the
ReportParameters.java class in the APIs project.
Jason
On 9/27/2010 10:05 AM, Gaurav Sahni wrote:
> Hi JAson,
>
> Thanks for the reply
> Today i am able to the run the reports using the BIRT Servlet as a web
> project on Tomcat server now i just wanted to know which reports has the
> parameter when we create using the eclipse now does not showing those
> parameter when run using the BIRT servlet.
> Could you please help us to show report paramter while runing report
> using the BIRT servlet
>
|
|
|
|
Re: BRIT Performance & New Birt Infrastructure [message #629791 is a reply to message #629559] |
Wed, 29 September 2010 14:48 |
|
Gaurav,
There is a lot of code in the viewer to do these features. They are all
built on top of the engine so they can be built but will take time.
Why can you not use the viewer?
Jason
On 9/28/2010 1:11 PM, Gaurav Sahni wrote:
> Hi jason,
>
> Thanks for the reply. when you run the reports through birt viewer we
> have the pagination and also the other options to export data and print
> reports But when we write our own servlets it does not display these
> options So how to implements this while writing our own servlet and also
> as we are building the server for the BIRT reports what will be the best
> configuration for the new server to handle all types of custom reports
>
> Again thanks for the all the reply
> Thanks Gaurav Sahni
|
|
|
Powered by
FUDForum. Page generated in 0.04470 seconds