Sunday, March 11, 2007

Integrating Jasper Reports with JDeveloper

I have created a sample application which demonstrates how Jasper reports can be integrated with Jdeveloper.

Example application can be downloaded from
http://web.omnidrive.com/APIServer/public/iPBWqziXIQFPB8vi5Wz5YptO/JasperReport.zip

You can also download the report I used from
http://web.omnidrive.com/APIServer/public/Zr0Eekn3xbOL2BYmSxTX0nOY/Reports.zip

adf-faces-impl.jar and adf-faces-api.jar has been removed from the zip file for making the zip file size smaller. You can copy the same files from your \jlib folder to the ViewController\public_html\WEB-INF\lib folder.

The reports.zip can be unzipped to a folder named D:MyWork\Reports. If you are putting the reports file in some other folder then make the necessary changes in the web.xml file to change the value for the initialization parameter 'ReportsFolder'

I am also assuming that you have installed iReports into the folder C:\Program Files\JasperSoft\iReport-1.2.7

For the example i used JDevloper 10.1.3.1 and iReports 1.2.7 (which is an IDE for developing reports for JasperReports)

The application is based on the scott schema so create a connection named scott for the model project.

Friday, March 2, 2007

Configuring Apache 2.2 + Tomcat 5.5.20 with mod_jk for load balancing

For one project we are using Apache Tomcat for deploying our application developed in Jdeveloper using the ADF BC - JSF technology. We were required to configure load balancing between two tomcat instances. Here is how we did it.

http://docs.google.com/Doc?id=dpkjppk_2g47gm5