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/" for this case). The birt newsgroup already hosts a lot discussions on how to integrate birt with the servlet environment.

Download integration example:


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,

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

best regards from germany

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

Can someone send me the too?


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

At March 05, 2007 7:51 AM, Anonymous Anonymous said...

Where could I find the please?
Can someone send me to

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

Thomas, Please refer to, 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

I am using BIRT 2.2 -- its not working.


Post a Comment

<< Home