Sunday, March 12, 2006

Integrate XLS emitter with standalone Java applications

Since many people asked how to integrate the XLS emitter with standalone java applications or servlet environtment, I investigated a little on this.

Unfortunately, Current BIRT framework can't handle the new OSGi form plugins when running in a standalone mode(e.g. not in eclipse workbench/rcp). So the resolution is just to downgrade the plugin manifest file to the old style plugin.xml.

For testing, I used an handy report framework introduced by Mark Lorenz, and everything looks fine.

The example just shows how to integrate the emitter with a standard file ouput. To support servlet environment, you can simply redirect the output to an OutputStream and specify a proper mime type ("application/vnd.ms-excel" for this case). The birt newsgroup already hosts a lot discussions on how to integrate birt with the servlet environment.

Download integration example: http://qauck.host.sk/standalone-integration.zip

7 Comments:

At April 20, 2006 1:48 AM, Blogger plamen_al said...

Hi there,
I'm also really pleased with the plugin - nice work there. I'm using it with BIRT 2.0.1 and all works fine. I've successfully integrated it with an RPC system, which's client is JNLP based (actually canoo's ULC): the report is being generated on the server in a temp file and send to the client for download. I'm experiencing a little performence issue though: a simple 6 columns, one page report listing companies is exported for 83 s. The same report with a subreport on every row listing the related persons on every company, which is a page and a half, however causes java.lang.OutOfMemoryError on my local machine. I hope that wouldn't happen when i deploy on the server. Is there anybody working on optimizations of the xls emitter?

Best regards,
plamen_al

 
At August 25, 2006 11:43 AM, Blogger brainwave81 said...

hi..i try to download the file but the link is down :(
can someone send me the file to bmb_4_ever@yahoo.de

best regards from germany

 
At October 24, 2006 8:02 AM, Anonymous Anonymous said...

Hi,
Can someone send me the standalone-integration.zip too?

peter.toth@gmail.com

Regards,
Peter

 
At January 04, 2007 6:27 AM, Blogger Bob said...

I also interested in this file. Is it possible to send me the ZIP file to babasholaking@gmail.com

 
At March 05, 2007 7:51 AM, Blogger Thomas said...

Hi,
Where could I find the standalone-integration.zip please?
Can someone send me to nicolas.lepiller@atosorigin.com
Thanks
Nico

 
At March 05, 2007 9:34 PM, Blogger Shawn said...

Thomas, Please refer to http://tribix.sourceforge.net/docs/How%20to%20use%20XLS%20emitter%20with%20BIRT%20runtime.htm, it includes the detail steps for integration with BIRT runtiem.

 
At January 13, 2009 1:34 AM, Blogger Mamta said...

I am trying to use the plugin from the site https://sourceforge.net/projects/tribix/

I am using BIRT 2.2 -- its not working.

 

Post a Comment

<< Home

Google