On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
Deploying BIRT Report to J2EE application
techagile
Junior Member
Hi,<br />
<br />
I am actually working with BIRT and kinda just starter.<br />
<br />
My project requirement is use BIRT reports and present the same to end user. I have prepared various BIRT reports as expected by the End User, and are made using Eclipse IDE. Now I want to deploy at client side and I am stuck up. <br />
<strong class='bbc'>Issue: 1</strong><br />
<br />
I don't know where/how BIRT reports will fetch the Database connection string and database related information. I am looking to generalize that Database connection issue, rather hard code any where in report. !!!<br />
<br />
<strong class='bbc'>Issue: 2</strong><br />
Secondly, I need to understand how to deploy them into the web application. I am thinking to give a link, will it be wise to just give a link for the BIRT reports in .jsp pages ?<br />
<br />
I would appreciate if you could tell me how that could be possible.<br />
<br />
Thanks,<br />
Pranav<br />
P.S. Sorry if I am reposting the same question, please excuse me
<br />
I am actually working with BIRT and kinda just starter.<br />
<br />
My project requirement is use BIRT reports and present the same to end user. I have prepared various BIRT reports as expected by the End User, and are made using Eclipse IDE. Now I want to deploy at client side and I am stuck up. <br />
<strong class='bbc'>Issue: 1</strong><br />
<br />
I don't know where/how BIRT reports will fetch the Database connection string and database related information. I am looking to generalize that Database connection issue, rather hard code any where in report. !!!<br />
<br />
<strong class='bbc'>Issue: 2</strong><br />
Secondly, I need to understand how to deploy them into the web application. I am thinking to give a link, will it be wise to just give a link for the BIRT reports in .jsp pages ?<br />
<br />
I would appreciate if you could tell me how that could be possible.<br />
<br />
Thanks,<br />
Pranav<br />
P.S. Sorry if I am reposting the same question, please excuse me
Comments
-
Hi Pranav,
One way to store the database connection is by using Libraries. By storing your data source in a library, you can easily change it and have it effect all reports that use the library. With BIRT 2.2, you can also create and leverage a Connection Profile so that changes made there also go across all the reports that use it.
For deploying your reports, there are several options. If you are using the open source viewer, then you can easily just add a link in a JSP page to call the viewer's servlet to generate the report. If you want the list of reports to be generated based on a users permissions, then you have to create that logic or look at the Actuate iPortal (trial available on this site). With the iPortal, each user gets only their list of reports.
Virgil -
Yes,
You can call the viewer but this is installed as a seperate APP on the server..
This is ok if your report works fully with DB datasources.. but what if the datasource is
a scripted datasource that requires param object from your original APP ??
Any way to perform the call to the viewer in the same context as my APP ?? how is this integrated ? -
You can integrate the BIRT viewer into your existing application. In BIRT 2.2, you can create a BIRT Web Project to see how the viewer is deployed, and then copy over the files and integrate the contents from the web.xml.
You could also make your Java Objects available through a web service, XML, or a shared class on the app server and then the viewer in its own application can still see them.
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax