iReport 3.7

iReport 3.7
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • A step-by-step, example-oriented tutorial with lots of screenshots to guide the reader seamlessly through the book
  • Generate enterprise-level reports using iReport 3.7
  • Give your reports a professional look with built in templates
  • Create master/detail reports easily with the sub-report feature
  • Produce summary data and present them in a dynamic crosstab report

Book Details

Language : English
Paperback : 236 pages [ 235mm x 191mm ]
Release Date : April 2010
ISBN : 1847198805
ISBN 13 : 9781847198808
Author(s) : Shamsuddin Ahammad
Topics and Technologies : All Books, Other, Java, Open Source

Table of Contents

Chapter 1: Introduction to iReport
Chapter 2: Building Your First Report
Chapter 3: Report Layout and Formatting
Chapter 4: Using Variables
Chapter 5: Using Parameters
Chapter 6: Grouping Data in Reports
Chapter 7: Subreports
Chapter 8: Crosstab Reports
Chapter 9: Charting
Chapter 10: Working with Images
Chapter 11: Calling Reports from Java Applications
Chapter 12: iReport in NetBeans
Appendix: A Sample Database
  • Chapter 1: Introduction to iReport
    • iReport features
      • Simple to use GUI
      • Report designer and tools
      • Data sources
      • Report templates
      • Export and preview
    • iReport Classic vs iReport NB
    • Downloading and installing iReport
    • References
    • Summary
  • Chapter 3: Report Layout and Formatting
    • Setting up the report pages
      • Configuring the page format
        • Page size
      • Configuring properties
        • What are the different checkboxes?
        • When there is no data
    • Configuring bands, formatting reports and elements
      • Showing/hiding bands and inserting elements
      • Sizing elements
      • Positioning elements
      • Handling null values
      • Font settings
      • Creating text field pattern
      • Setting borders
      • Using tools for current date and inserting page numbers
    • Summary
  • Chapter 4: Using Variables
    • Reviewing the database tables
    • Creating a basic report
    • Adding variables
      • Adding total variable
      • Adding a grand total
    • Summary
  • Chapter 7: Subreports
    • Creating a subreport
      • Creating the master report
      • Creating the subreport
    • Returning values from the subreport
    • Using an existing report as a subreport
    • Compiling a report
    • Summary
  • Chapter 9: Charting
    • Developing a pie chart report
    • Developing a 3D pie chart report
    • Developing a bar chart report
    • Summary
  • Chapter 10: Working with Images
    • Displaying an image from the database
      • Scaling images
    • Displaying images from the hard drive
    • Setting a background image
    • Summary
  • Chapter 11: Calling Reports from Java Applications
    • Downloading and installing NetBeans
    • Creating a project in NetBeans
    • Creating the iReport viewer class
      • Adding JasperReports API in the NetBeans project
      • Creating the viewer class
      • Accessing the database
      • Filling the report with data
      • Viewing the report
    • Calling the viewer class
    • Creating GUI with menus
      • Calling a report without a parameter
      • Calling a report with a parameter
    • Calling reports from a web application
    • Summary
  • Chapter 12: iReport in NetBeans
    • Installing iReport plugins in NetBeans
    • Creating reports
      • Creating a NetBeans database JDBC connection
      • Creating a report data source
      • Creating a simple report
    • Creating a parameterized report
    • Summary
  • Appendix: A Sample Database
    • Designing the database
      • List of entities
      • Data dictionary
      • Entity Relationship Diagram (ERD)
    • Installing MySQL and GUI tools
      • Configuring MySQL Server Instance
    • Creating a database
    • Backing up and restoring database
      • Backing up the database
      • Restoring the database

Shamsuddin Ahammad

Shamsuddin Ahammad is a Senior Lecturer and the Course Coordinator at Daffodil Institute of IT, Bangladesh. He has been teaching Java, Programming Methods, and Database Systems since 2002. He has experience in supervising hundreds of academic projects. Shamsuddin has a Masters degree in Management Information Systems (MIS) from Daffodil International University, Dhaka. He obtained the BSc(Hons) degree in Computing & Information Systems (CIS) of NCC Education Ltd, UK and London Metropolitan University joint programme from Daffodil Institute of IT. Before that, he completed the IDCS & IADCS of NCC Education Ltd. He is an Additional Reviewer of Conference on Quality Engineering in Software Technology (CONQUEST) organized by International Software Quality Institute (iSQI) in Germany. He is the author of book titled iReport 3.7 published from PACKT Publishing in March 2010.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

iReport 3.7 +    FreeRADIUS Beginner's Guide =
50% Off
the second eBook
Price for both: $34.95

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Using iReport for creating reports
  • Using special kinds of data operations to generate more powerful reports
  • Combining data to produce master/detail reports
  • Adding images and controlling the layout and formatting of your report
  • Using report variables to store data during the execution of the report
  • Representing business data in the form of pie charts, bar charts, line charts and so on
  • Calling iReport from a Java desktop or web application
  • Creating reports from the NetBeans IDE
  • Creating JDBC connections from iReport to connect to different data sources.

Here is a brief summary of what each chapter covers:
Chapter 1: Introduction to iReport: This chapter covers what iReport is, what you can do with iReport, history of iReport, and installing iReport.

Chapter 2: Build Your First Report: In this chapter you learn about creating a new Data Source or database JDBC connection, creating a report using the wizard, using a design query to produce a SQL for the report, viewing the report using the built-in viewer, and exporting the report in different formats like PDF, RTF and so on.

Chapter 3: Report Layout and Formatting: In this chapter you will learn about configuring report properties, understanding bands, configuring and using report bands, maintaining the size, position and alignment of the report elements, modifying report fonts, using a library, using borders, and modifying element properties.

Chapter 4: Using Variables: In this chapter you will learn about the use of variables, adding variables in a report, and writing variable expressions.

Chapter 5: Using Parameters: In this chapter you will learn about the necessity for parameters, adding/ modifying parameters, and modifying the SQL query to use parameters.

Chapter 6: Report Groups: In this chapter you will learn about report groups and grouping data together.

Chapter 7: Subreports: In this chapter you will learn about what sub-reports are, creating sub-reports, compiling sub-reports, linking the main report to a sub-report, and passing data between the main and sub-reports.

Chapter 8: Crosstab Report: In this chapter you will gain an understanding of what crosstab reports are and how to use crosstab reports.

Chapter 9: Charting: In this chapter you will learn how to create report with pie charts, 3d pie charts, and bar charts.

Chapter 10: Working with Images: This chapter covers showing images in reports from the database, static images from the hard drive, and setting a background image in a report.

Chapter 11: Calling iReport from Java Applications: In this chapter you will learn about the JasperReports library for calling iReport from your Java application.

Chapter 12: iReport in NetBeans: You will learn about installing iReport plugins in NetBeans and creating reports from inside NetBeans IDE.

Chapter 13: A Sample Database: This chapter presents the design and development of an inventory.

In Detail

Although JasperReports is the world's most popular open source Java reporting library, it has always lacked one thing: It doesn't provide a tool to visually design reports. iReport is a visual report designer built on JasperReports that fills that lack. It is an intuitive and easy-to-use visual report builder/designer for JasperReports, written in 100% pure Java.

This beginner's tutorial book is a straightforward introduction to the iReport environment taking an example-oriented approach in developing your skills from scratch. It shows you how to use iReport for creating reports in PDF, RTF, and other formats, which can be delivered over the Web for immediate access.

This book will guide you through using iReport to develop various types of reports from a simple report through to dynamic enterprise-level reports based on realistic examples based on a sample Inventory Management System. It takes you through the main types of report available in iReport, and shows you exactly how to create them. It shows you how to use different report templates, how to use special kinds of data operations to generate more powerful reports, combine data to produce master-detail reports, add images, control the layout and formatting of your report and many more.

It will also show you how to use the NetBeans IDE to create Java projects with reporting facilities. You will learn how to vary report format and layout according to business requirements.


Step-by-step example-driven tutorials make this book very easy to follow. Practical, realistic business examples, many relevant screenshots, and simple discussion of prior concepts help readers to understand from the simplest to the most complex concepts.

Who this book is for

This book is for business intelligence reporting tool users and developers who have working experience in Java but are new to iReport. The book covers from developing a simple report to charting and producing summary reports in iReport, so it is suitable both for the initial learners and experts who produce extensive reports for business applications.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software