| Free tutorials for Java, Eclipse and Web programming |
Version 1.0
Copyright © 2008 - 2010 Lars Vogel / Hendrik Still
22.01.2010
| Revision History | ||
|---|---|---|
| Revision 0.1 - 0.2 | 07.03.2008 | Hendrik Still |
| Created Article | ||
| Revision 0.3 | 07.03.2009 | Lars Vogel |
| Correted datamodel, dao, fixed screenshots | ||
| Revision 0.4 | 26.03.2009 | Lars Vogel |
| Updated Article | ||
| Revision 0.4 | 12.04.2009 | Lars Vogel |
| Corrected open script | ||
| Revision 0.5 | 07.05.2009 | Lars Vogel |
| StockDaoMock always returns data | ||
| Revision 0.6 | 12.05.2009 | Lars Vogel |
| Tomcat installation overview | ||
| Revision 0.7 | 24.06.2009 | Lars Vogel |
| Update to Eclipse 3.5 (Galileo) | ||
| Revision 0.8 | 08.07.2009 | Lars Vogel |
| Fixed RCP issue, corrected fetch and open script | ||
| Revision 0.9 | 14.09.2009 | Lars Vogel |
| Applied improved RCP view code from Nikhil Milo | ||
| Revision 1.0 | 22.01.2010 | Lars Vogel |
| Fixed double-screenshot | ||
Eclipse Birt
This article describes how to use Eclipse BIRT for reporting on simple Java Objects (POJO's - Plan old Java Objects).
The article will also explain how to deploy the resulting BIRT report into a webcontainer (tomcat) and how to use it in an Eclipse RCP application.
Eclipse 3.5 (Eclipse Galileo) is used for this tutorial.
Table of Contents
Eclipse BIRT allows the creation of reports using various data sources.
These data sources define where the data is stored. Data sets defines the query for the report.
BIRT provides for example the following data sources:
Databases (via JDBC)
Text Files (cvs, XML)
WebServices (via WSDL-Files)
Scripting Data sources
In a Java program it is often convenient to use directly Java objects as a data source for reports. This article will focus on the usage of plain old Java objects (POJO) as data sources for BIRT reports.