Duration
2 days
OVERVIEW
iReport is an open-source Java class library designed to aid developers with the task of adding reporting capabilities to Java applications by providing an API to facilitate the ability to generate reports from any kind of Java application. Though primarily used to add reporting capabilities to web-based applications, it can also be used to create standalone desktop or command-line Java applications for report generation. iReport provides a highly interactive, drag-and-drop reporting environment for users to design and produce pixel perfect reports via an easy to use, ad-hoc design. Through this 2 day course you will learn how to create crosstabs, tables and chartbased reports which can be sorted, filtered and formatted online.
PROGRAM OBJECTIVES
At the end of this program participants will be able to:
Use iReport to create and format interactive, pixel-perfect reports and publish them in various formats such as PDF, word or excel.
WHO SHOULD ATTEND
This course is aimed at an audience of report developers, data analysts, data architects, system architects and software developers.
Day 1
GETTING STARTED
- 1. Requirements
- 2. Setting Up the Start and Base Configuration
- 3. The Windows Installer and iReport.exe
- 4. First iReport Execution
- 5. Creating a JDBC Connection
- 6. Creating Your First Report
- 7. Specifying start-up Command-Line Options
BASIC NOTIONS OF JASPERREPORTS
- 1. Understanding the Report Life Cycle
- 2. JRXML Sources and Jasper Files
- 3. Data sources and Print Formats
- 4. Compatibility Between Versions
- 5. Report Expressions
- 6. A Simple Program Using JasperReports
REPORT STRUCTURE
- 1. Document Sections (Bands) Overview
- 2. Title
- 3. Page Header
- 4. Column Header
- 5. Group Header
- 6. Detail
- 7. Group Footer
- 8. Column Footer
- 9. Page Footer
10.Last Page Footer
11.Summary
12.Background
13.Specifying Report Properties
14.Columns
15.Advanced Options
REPORT ELEMENTS
- 1. Inserting and Selecting Elements in a Report
- 2. Positioning and Elements Order
- 3. Managing Elements with the Elements Tree
- 4. Basic Element Attributes
- 5. Graphic Element Attributes
- 6. Line
- 7. Rectangle
- 8. Ellipse
- 9. Image
10.Text Element Attributes
11.Static Text
12.Text Field
13.A Brief Look at Subreports
14.Working with Frames
15.Special Elements
16.Barcode Element Attributes
17.Inserting Page and Column Breaks
18.Adding Hyperlinks to Elements
19.Hyperlink Type Option
FONTS AND STYLES
- 1. Working with Fonts
- 2. Using TTF Fonts
- 3. Font Loading and Font Paths
- 4. Character Encoding
- 5. Use of Unicode Characters
- 6. Working with Styles
- 7. Creating Style Conditions
- 8. Reusing Styles through the Styles Library
FIELDS, PARAMETERS, AND VARIABLES
- 1. Working with Fields
Day 2
SUBREPORTS
- 1. Creating a Subreport
- 2. Linking a Subreport to the Parent Report
- 3. Passing Parameters
- 4. Specifying the Datasource
- 5. Specifying the Subreport
- 6. Returning Values from a Subreport
- 7. Using the Subreport Wizard
- 8. Create a New Report via the Subreport Wizard
- 9. Specifying an Existing Report in the Subreport Wizard
DATASOURCES AND QUERY EXECUTERS
- 1. How a JasperReports Datasource Works
- 2. Understanding Datasources and Connections in iReport
- 3. Creating and Using JDBC Connections
- 4. ClassNotFoundError
- 5. URL Not Correct
- 6. Parameters Not Correct for the Connection
- 7. Working with Your JDBC Connection
- 8. Fields Registration
- 9. Sorting and Filtering Records
10.Using JavaBeans Set Datasources
11.Fields of a JavaBean Set Datasource
12.Using CSV Datasources
Programme scope, delivery arrangements and suitability are confirmed during enquiry.