JasperReports Open Source Reporting Engine. JasperReports Reporting Engine & Compiler Various Input Options – XML, Hibernate, JDBC, CSV… Various Output.

Slides:



Advertisements
Similar presentations
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Advertisements

Student Manager Catalog Builder An ACEware Webinar.
1 Microsoft Access 2002 Tutorial 6 – Creating Custom Reports.
Creating Custom Reports. 2 Design and create a custom report You can easily create custom reports based on a table or query. There are seven sections.
XP New Perspectives on Microsoft Access 2002 Tutorial 61 Microsoft Access 2002 Tutorial 6 – Creating Custom Reports.
Creating Forms for Online Input Gini Courter Annette Marquis TRIAD Consulting.
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Integrating Access with the Web and with Other Programs.
Slide 1 of 39 Welcome to GSA’s Vendor and Customer Self Service (VCSS) course Section 5: Statement and Dispute Navigation This presentation is compliant.
1 Introduction to OBIEE: Learning to Access, Navigate, and Find Data in the SWIFT Data Warehouse Lesson 8: Printing and Exporting an OBIEE Analysis This.
Tutorial 8 Sharing, Integrating and Analyzing Data
How To Make Graphs in Microsoft Excel Outline Making Bar Graphs Making Scatter Plots – 1 series Making Scatter Plots – Multiple Series.
 Go to Control Panel of your System  Click on System and Security.
1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Tasks and Wizards 3.2 Creating a Frequency Report 3.3 Generating HTML, PDF, and RTF Output.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Pasewark & Pasewark 1 Access Lesson 6 Integrating Access Microsoft Office 2007: Introductory.
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
1 Vendor RFI - Event User Guide. 2 Minimum System Requirements Internet connection - Modem, ISDN, DSL, T1. Your connection speed determines your access.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
NAWD National Conference on Student Activities – 2009 can produce Yip-pees! Saturday December 5, 2009 – Fort Lauderdale, FL Lou Miller – Executive Director,
Developing Effective Reports
Informer Web Reporting Basic Reporting
11 Chapter 3: Getting Started with Tasks 3.1 Introduction to Tasks and Wizards 3.2 Creating a Frequency Report 3.3 Generating HTML, PDF, and RTF Output.
CS1100: Access Reports Microsoft Access Report Construction Created By Martin Schedlbauer CS11001Microsoft Access.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Advanced Tutorial For Version 10.0 and later.
9/17/2015PowerPoint Differences Between Excel 2003 to 2007 Purdue University Calumet Excel 2003 Excel 2007.
Chapter 6 Advanced Report Techniques
Creating a Web Site to Gather Data and Conduct Research.
JasperReports and iReport Training Joe Ferrall Senior Programmer/Analyst - NWOCA.
Microsoft FrontPage 2003 Illustrated Complete Using Office Components.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 8 Exchanging Data Between Access and Other Applications Exploring Microsoft Office Access.
SIGNZ Mail Merge / Merge / Labels SIGNZ Mail Merge / Merge / Labels.
© 2006 by «Author»; made available under the EPL v1.0 | Date | Other Information, if necessary Jason Weathersby BIRT Evangelist, Actuate Corp. Leveraging.
IReport Demo Spring 2008 OEDSA Conference. Report Properties.
Automatic Report Generation for WLCG/EGEE D. D. Sonvane (Gridview Team) B.A.R.C.
Ad Hoc Graphical Reports Ad Hoc Graphical Reports Copyright © Team #4 CSCI 6838 Spring CSCI Research Project and Seminar Team# 4 (
GSA’s Vendor and Customer Self Service (VCSS).  View and Print Statements  View and print statements for your accounts.  Statement Search by Agreement.
1 Overview of JasperReport Dec 27, Current Reporting Library iText for PDF report generation iText is a powerful PDF generation engine How can.
NextGen Dataviewer Local Government Corporation. Dataviewer Dataviewer is a tool used to create spreadsheet style reports exportable to Excel, HTML and.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
ArcGIS 9 ch 6 Edited 10/28/05 1 Land Use Analysis An important aspect of any GIS is the use of analysis. Analysis helps us to say something meaningful.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Prepared by the Academic Faculty Members of IT. Tables Creating Tables. Merging Cells. Splitting Cells. Sorting Tables. Performing Calculations.
Paper 2 Exam Tips Guidance: 1.Evidence Document 2.Unit 9: – Communication ( ) 3.Unit 10: - Document Production (Word) 4.Unit 16: PowerPoint 5.Unit.
Crystal Report CIS 764 – Presentation - Srunokshi Kaniyur Prema Neelakantan CIS Presentation on Crystal reports.
® Microsoft Office 2010 Access Tutorial 4 Creating Forms and Reports.
Education And Training CTC IT DIVISION PivotLink User Training April 2010.
Hamilton Software Products The Measure of Excellence Customized dialog.
Microsoft Excel Tools: Page Layout - “Print Area” Megan Richards.
Chapter 3: Getting Started with Tasks
Introduction to OBIEE:
Microsoft FrontPage 2003 Illustrated Complete
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Office Access 2003
Description MS Lesson 1 (spring 2013)
Microsoft Office Access 2003
Microsoft PowerPoint 2007 – Unit 2
JasperReports.
Chapter 18 Finalizing a Database.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Amos Introduction In this tutorial, you will be briefly introduced to the student version of the SEM software known as Amos. You should download the current.
Integrating Office 2013 Programs
Unit J: Creating a Database
Tutorial 8 Sharing, Integrating, and Analyzing Data
Presentation transcript:

JasperReports Open Source Reporting Engine

JasperReports Reporting Engine & Compiler Various Input Options – XML, Hibernate, JDBC, CSV… Various Output Options – PDF, Excel, HTML, RTF, TXT, XML Ability to create Charts

iReport Report GUI Design tool Built-In Compiler to create compiled reports

Requirements JRE 1.4 or higher Commons Beanutils Commons Collections Commons Logging Commons Digester Itext – for PDF output POI – for Microsoft formats JFreeChart – if using Charts/Graphs

Ant Task Ant task is located in Tools that will compile reports Add to build.xml to enable Jasper compiling on build

iReport/Making Report Definition Located in Tools File Types:.jrxml – report definition (xml format).jasper – compiled report definition iReport can open either version

Basic Report Layout Each section of the report is called a band Different bands will print different sections of the report Bands can be added, removed and resized Not all bands are always used Fields can be moved, stretched and resized using the mouse.

Types of Fields Static Text – non-data fields, i.e. Headings, titles, labels, etc. Text fields – can be data and/or non-data Variables – used for calculating of fields Parameters – passed into the report at compile time

New Text Field View  Fields Click New Enter the field name – this will define it in the report Select Class Type – String is text fields, BigDecimal for amount fields

…. …. Record Path is: /CompleteReceipt/Receipt/Item

Field Description The field description field is the path to the data from the record path If we have a receipt, with items, it’s record path is: /CompleteReceipt/Receipt/Item To access the Receipt number, the field description would be:../number (the.. will go up the tree) If a CompleteReceipt piece of data is needed, it would be:../../data

Adding a Variable View  Variables, and click New. Enter a variable name. Choose calculation type, Add, multiply, etc. Class type and Expressions should be of BigDecimal type

Adding a Parameter View  Parameters, click New Enter name and select class type. These are passed into the report at compile time.

Subreports A separate.jasper file that is used inside of another report. A data source can be applied to a subreport in the report properties as shown here:

Subreports, cont. Parameters are defined on the Subreport (other) tab. The subreport Expression field will be the path to the subreport. We pass these in via a parameter.

Compile Report Build  Compile will build the report, and create a.jasper file. This file will be used in the java code. Ant task will also do this if added to build script.

Back to Java Code Now, our.jasper files are created. Time to compile them with the data. Need the following imports (using XML data source and PDF output):

Creating Final report First we need to get our jasper files, main report and any subreports: In USASWeb, we keep the paths to these files in StrutsResources.

Creating Final report, cont. Now, we need to create an ArrayList for our report(s) and a Hashmap for any paramters. A parameter needs the parameter name, and then the data to send.

Creating Final report, cont. Now, we can get our data. This shows an xml, being input thru a ByteArrayInput Stream. The Xml data source needs an input stream, and the record path. (can also take in a File, Document, JDBC connection)

Creating Final report, cont. Now, we fill the report. We need to pass in the main reports path, our parameters and the data source. Then, we can add the report to our PrintList. (if using PDF bookmarks or to set the spreadsheet name in Excel, use the setName method)

Creating Final report, cont. Now, we have our report made, now time to export it. I will show the PDF exporter. First, create a new PDFExporter instance, and get the response ready for our output.

Finally, the report is done! Now, we set the exporter parameters. Here, we need our PrintList, output method, and since we are using PDF bookmarks, we need to set the flag. Finally, we export the report.

Result Now, it will be output to the browser.

Questions?