O'Reilly logo

iReport 3.7 by Shamsuddin Ahammad

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Building Your First Report

We will develop our first simple report using iReport, and before doing so, we will create a connection/data source that will be used to fill the reports.

In this chapter, we will learn about:

  • Creating a new data source or database JDBC connection
  • Creating a report using the wizard
  • Using the design query feature to produce the SQL query for the report
  • Viewing and exporting the report using the built-in viewer

So let's get on with it!

Creating a connection/data source

Before going to create the connection, a database should be set up. Designing the database used in this book for creating reports is explained in detail in the Appendix. However, for the purpose of this book, the SQL query for the database used for creating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required