jasper reports

28
JasperReports with Oracle Application Express 2013-September Tim St. Hilaire Enkitec 1 Sunday, September 22, 13

Upload: enkitec

Post on 11-May-2015

552 views

Category:

Technology


7 download

TRANSCRIPT

Page 1: Jasper Reports

JasperReports with Oracle Application Express

2013-SeptemberTim St. Hilaire

Enkitec

1Sunday, September 22, 13

Page 2: Jasper Reports

@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

Page 3: Jasper Reports

@sthilaire

About MeTim St. Hilaire

� System Integrator

� Problems Solver

� Pragmatist

� Technology Enthusiast

� APEX Fan

� Enkitec Product Developer

3Sunday, September 22, 13

Page 4: Jasper Reports

@sthilaire

The GoalDemonstration

4Sunday, September 22, 13

Page 5: Jasper Reports

@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

Page 6: Jasper Reports

@sthilaire

High Level Process

6

HTTP

UTL_HTTP

JDBC

Data

BLOB

HTTP

APEX

Jasper Reports Database

Sunday, September 22, 13

Page 7: Jasper Reports

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

Page 8: Jasper Reports

@sthilaire

Jaspersoft Community

8Sunday, September 22, 13

Page 9: Jasper Reports

@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

Page 10: Jasper Reports

@sthilaire

Jaspersoft Community

10Sunday, September 22, 13

Page 11: Jasper Reports

@sthilaire

JasperReports Library� Java based reporting engine

� Runtime Environment

� Variety Output Formats

� Database Agnostic

11Sunday, September 22, 13

Page 12: Jasper Reports

@sthilaire

iReport� Visual Designer for Jasper reports

� Mac, Windows, Linux

� Comprehensive IDE

� Modular Design

� Built in Preview

12Sunday, September 22, 13

Page 13: Jasper Reports

@sthilaire

iReport

13Sunday, September 22, 13

Page 14: Jasper Reports

@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

Page 15: Jasper Reports

@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

Page 16: Jasper Reports

@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

Page 17: Jasper Reports

@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

Page 18: Jasper Reports

@sthilaire

Opal Tool Architecture - APP

18Sunday, September 22, 13

Page 19: Jasper Reports

@sthilaire

Security

19Sunday, September 22, 13

Page 20: Jasper Reports

@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

Page 21: Jasper Reports

@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

Page 22: Jasper Reports

@sthilaire

Summary

Installation

Functionality

Usability

Cost

22Sunday, September 22, 13

Page 23: Jasper Reports

@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

Page 24: Jasper Reports

@sthilaire

ODTUG

24Sunday, September 22, 13

Page 25: Jasper Reports

@sthilaire

Questions

25Sunday, September 22, 13

Page 26: Jasper Reports

@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

Page 27: Jasper Reports

@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

Page 28: Jasper Reports

@sthilaire28

Sunday, September 22, 13