Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Using RE API without birt installed on the server machine(null)
Using RE API without birt installed on the server machine [message #631567] Fri, 08 October 2010 01:58 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: October 2010
Junior Member
I try to embed the birt report to one existing J2ee web application by using Report Engine API.
We are not allowed to install birt on the server machine.
Is that OK?
1. I create the rptdesign files from my local computer which has eclipse birt installed.
2. put created rptdesign files, RE API jar, jdbc driver jar files and few configuration files
under one directory of the server machine.
3. add jar files (or put jar files in the application under web-inf/lib folder) and configuration files on the classpath
by modifying the batch file of the application server like web logic sever.
If I can not, what is the reason?

Thanks.
Re: Using RE API without birt installed on the server machine [message #631759 is a reply to message #631567] Fri, 08 October 2010 15:41 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you wanting to run BIRT in a servlet or just as a command line app?

Jason

On 10/7/2010 9:58 PM, jtie0501@hotmail.com wrote:
> I try to embed the birt report to one existing J2ee web application by
> using Report Engine API.
> We are not allowed to install birt on the server machine.
> Is that OK?
> 1. I create the rptdesign files from my local computer which has eclipse
> birt installed.
> 2. put created rptdesign files, RE API jar, jdbc driver jar files and
> few configuration files
> under one directory of the server machine.
> 3. add jar files (or put jar files in the application under web-inf/lib
> folder) and configuration files on the classpath
> by modifying the batch file of the application server like web logic sever.
> If I can not, what is the reason?
>
> Thanks.
Re: Using RE API without birt installed on the server machine [message #631819 is a reply to message #631759] Fri, 08 October 2010 21:48 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: October 2010
Junior Member
Using servlet as part of application to return embedded html
Re: Using RE API without birt installed on the server machine [message #632154 is a reply to message #631819] Mon, 11 October 2010 18:35 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 this link:

http://wiki.eclipse.org/Servlet_Example_%28BIRT%29_2.1

Make sure to look at the bottom for updated code. Also note that if you
want to embed the html from the report in another html file use the
HTMLRenderOption.setEmbeddable(true). This will return the report html
without header and body tags.

Jason

On 10/8/2010 5:48 PM, jtie0501@hotmail.com wrote:
> Using servlet as part of application to return embedded html
Re: Using RE API without birt installed on the server machine [message #633000 is a reply to message #632154] Thu, 14 October 2010 23:40 Go to previous message
No real name is currently offline No real nameFriend
Messages: 4
Registered: October 2010
Junior Member
It is working.
Thanks.
Jack
Previous Topic:Column wrapping in a table
Next Topic:Table not retrieving data
Goto Forum:
  


Current Time: Thu Apr 25 03:44:52 GMT 2024

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

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

Back to the top