JasperReports with Oracle Application Express
2013-SeptemberTim St. Hilaire
Enkitec
1Sunday, September 22, 13
@sthilaire
Agenda� Report Output
� What’s Going on
� Jasper Report Server
� iReport Development Tool
� Jasper Reports Integration Tool by Opal Consulting
� Security
� Tips and Suggestions
2Sunday, September 22, 13
@sthilaire
About MeTim St. Hilaire
� System Integrator
� Problems Solver
� Pragmatist
� Technology Enthusiast
� APEX Fan
� Enkitec Product Developer
3Sunday, September 22, 13
@sthilaire
The GoalDemonstration
4Sunday, September 22, 13
@sthilaire
How It Works� Report designed for a specific need
� Report is deployed to a report server
� APEX requests the report from the report server and presents it to the user
5Sunday, September 22, 13
@sthilaire
High Level Process
6
HTTP
UTL_HTTP
JDBC
Data
BLOB
HTTP
APEX
Jasper Reports Database
Sunday, September 22, 13
Jaspersoft provides commercial software around the JasperReports product, and negotiate contracts with software developers that wish to embed the JasperReports engine into a closed source product.
� Reporting Software
� Analysis Software
� Dashboard Software
� Data Integration
@sthilaire
Jaspersoft
7Sunday, September 22, 13
@sthilaire
Jaspersoft Community
8Sunday, September 22, 13
@sthilaire
Jaspersoft Community� Community editions are free to use
� In production systems in your corporation
� Include in commercial applications
� Distributed under GNU Lesser General Public License version 3 (LGPLv3)
� Community Support
9Sunday, September 22, 13
@sthilaire
Jaspersoft Community
10Sunday, September 22, 13
@sthilaire
JasperReports Library� Java based reporting engine
� Runtime Environment
� Variety Output Formats
� Database Agnostic
11Sunday, September 22, 13
@sthilaire
iReport� Visual Designer for Jasper reports
� Mac, Windows, Linux
� Comprehensive IDE
� Modular Design
� Built in Preview
12Sunday, September 22, 13
@sthilaire
iReport
13Sunday, September 22, 13
@sthilaire
iReport Development� .jrxml - Report design file
� .jasper - Compiled report file
� Images - Logo and support files
� Sub directory for grouping reports
� Sub report combination - for multiple data sets or master detail detail reports
� Multiple data source connection capabilities
� Development Process includes configuring report server
14Sunday, September 22, 13
@sthilaire
Opal Consulting
Dietmar Aust
Opal Consulting
http://www.opal-consulting.de
Developed a Jasper Reports integration kit available to the APEX community.
http://www.opal-consulting.de/tools
15Sunday, September 22, 13
@sthilaire
Opal Tool Architecture - Server� JasperReportsIntegration.war
� Deployable to a J2EE web server
� Packaged with a Jetty Hightide HTTP server and servlet container for easy development
� Testing and configuration interface
16Sunday, September 22, 13
@sthilaire
Opal Tool Architecture - DB� Creates a collection of XLIB
objects
� Easy to use API to configure and call JasperReports
� Each schema needs permissions to make HTTP calls (11g ACL)
� Logging option to assist with debugging
� Easy to use sample application for testing configuration
17Sunday, September 22, 13
@sthilaire
Opal Tool Architecture - APP
18Sunday, September 22, 13
@sthilaire
Security
19Sunday, September 22, 13
@sthilaire
Security By Design� The Reporting Server should not be exposed to
the general user base without security applied to it
� The Reporting Server can be exposed to only the Database Server to control access
� ACL capabilities can be limited to a service provider schema
� Report Deployment as part of a QA process
� Report Server Data Connections can be to “Reporting” schemas.
20Sunday, September 22, 13
@sthilaire
Integration Tips� Start with Demonstration Environment
� Document your approach to:
� Report Deployment
� Report Server Data Connections
� Output Formats and Font Selections
� If Selling Commercial Product - Verify Licensing and GPL compliance
21Sunday, September 22, 13
@sthilaire
Summary
Installation
Functionality
Usability
Cost
22Sunday, September 22, 13
@sthilaire
ODTUGDietmar Aust
Opal Consulting
https://www.opal-consulting.de
KScope 2012Presentation: Oracle Reports to JasperReports
• Several demonstration reports
• JasperReports Feature Descriptions
• Integration Details
23Sunday, September 22, 13
@sthilaire
ODTUG
24Sunday, September 22, 13
@sthilaire
Questions
25Sunday, September 22, 13
@sthilaire
ReferencesMany thanks to all those that have come before me, and for those that take the time to help others grow and improve their skills by sharing their time, experience, and knowledge.
Opal Consultinghttp://www.opal-consulting.dehttp://daust.blogspot.com http://www.opal-consulting.de/tools
Jaspersofthttp://jaspersoft.comhttp://community.jaspersoft.com
DBMS_LOBhttp://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_lob.htm
APEX Builder - BLOB Support in Forms and Reportshttp://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/advnc_blob.htm
Tim’s Bloghttp://wphilltech.com
26Sunday, September 22, 13
@sthilaire
Disclaimer� Marks, images, brands and referenced content
are the property of their respective owners. Usage is for discussion purposes only. No ownership assumed or implied.
� The comments and opinions expressed here are sole responsibility of the author and not of his employer or any other party.
� No trees were harmed during the creation of this presentation. However, a great number of electrons were terribly inconvenienced.
27Sunday, September 22, 13
@sthilaire28
Sunday, September 22, 13