JasperReports 3.6 Development Cookbook

More Information
Learn
  • Create, position, and enhance the title, header, footer, and body of your report
  • Use dynamic titles—those that can change during report processing
  • Use mathematical and logical expressions to calculate sum, average, maximum, and to sort, arrange, and extract data making it easier for you to analyze, share, and manage business information more effectively
  • Create a report from various data sources such as relational data, XML data, or model beans of Java applications
  • Create multi-page reports, with a cover page and table of contents (TOC) and manage pagination of multiple types of data
  • Use sub-reports to design a multi-column report
  • Design simple or multi-level summary report, and cross-tabs
  • Create bar charts and graphs to show data trends
  • Generate reports from Java Swing applications or web applications
About

JasperReports is the world's most popular embeddable Java open source reporting library, providing Java developers with the power to easily create rich print and web reports. While such reports are pivotal in managing business information more effectively, creating and customizing them can get tedious.

This book will give you recipes to solve common JasperReports problems to make your life easier. It will take you through complex examples related to JasperReports with step-by-step instructions on how to solve them.

The author's experience in creating reports enables him to share over 50 recipes to develop crystal-clear business reports using the capabilities of JasperReports and the amazing features provided by its visual report designer tool: iReport.

This cookbook will arm you to develop user-friendly reports by using multiple types of data in the same report, thereby saving your time in sorting, arranging, or extracting data and making the whole process effortless. First you will learn to do basic things such as creating, sizing, positioning, and enhancing the titles, headers, footers of the report. You will move on to working with the body and footer of the report, including using parameters to filter records during report processing and implementing nested hierarchy. Second, you will learn to enhance the look and feel of your report by deploying and reusing styles, and by using designs, textual effects, background images, and watermarks. You will also learn to use mathematical and logical expressions such as counting the number of records with a particular field value, grouping records, applying styles on your data based on logical or mathematical conditions, and so on.

Then you will be able to do advanced things such as working with a variety of data sources: relational data, XML data, model beans of Java applications, and also multiple relational databases at once. You will learn to build a cover page and table of contents for multi-page reports, display multi-dimensional page numbering, and much more. You will be able to design simple and multi-level summary reports, cross-tabs with dynamic rows and columns, create bar charts, and display data trend graphs in your reports. Lastly and very importantly, you will be able to generate reports from Java Swing applications after you learn how to use JavaWrappers for your JasperReport.

Features
  • Create, size, and position the titles, headers, footers, and body of your report using JasperReports and iReport
  • Enhance the look and feel of your report using background images, watermarks, and other such features
  • Create multi-page and multi-column reports using multiple types of data in the same report
  • Generate reports from Java Swing applications or from your web application
  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible.
Page Count 396
Course Length 11 hours 52 minutes
ISBN 9781849510769
Date Of Publication 30 Jun 2010

Authors

Bilal Siddiqui

Bilal Siddiqui is an Electronics Engineer, an XML consultant, and the founder of XML4Java, a company focused on simplifying e-business. After graduating in 1995 with a degree in electronics engineering from the University of Engineering and Technology Lahore, he began designing software solutions for industrial control systems. Later, he turned to XML and used his programming experience in C++ to build web- and WAP-based XML processing tools, server-side parsing solutions, and service applications. Bilal is a technology evangelist and a frequently published technical author.

Bilal has been focusing exclusively on Java and XML-based open source tools and solutions since 2006. He has extensively used popular open source products such as JasperReports, ADempiere, Openbravo, and Eclipse. Bilal is a strong advocate of open source tools and is engaged not only in designing solutions based on open source tools but also collaborating with local universities in Lahore to train software and IT personnel in using open source technologies.