Friday, March 2, 2012

Reporting Tools in Java Programming

بِسۡمِ ٱللهِ ٱلرَّحۡمَـٰنِ ٱلرَّحِيمِ
Reports are all about querying a database and displaying the results in a nice format.

JasperReports
JasperReports is an engine that takes an XML file and forms a report out of that file using the data source specified in the XML file. This file defines exactly what appears where in the report. Writing this file by hand is not practical. This is where iReport comes into play.
For more information on JasperReports, see
http://jasperreports.sourceforge.net/tutorial/index.html

iReport
iReport is a visual tool to obtain XML files for JasperReports. It provides a WYSIWYG environment to design reports. Anything that can be placed in a report (static text, geometric shapes, images, subreports, groups, texts and images coming from a data source)can be put together in drag’n’drop fashion according to the report template.
For more information on JasperReports, see
http://ireport.sourceforge.net/docs.html

JFreeChart
JFreeChart is a free Java class library for generating charts. Several chart types are supported such as pie charts (2D and 3D), bar charts (regular and stacked, with an optional 3D effect), line and area charts, scatter plots and bubble charts, time series, high/low/open/close charts and candle stick charts, combination charts, Pareto charts, Gantt charts, wind plots, meter charts and symbol charts, wafer map charts. This library is used to create the images of the charts which we want to embed into the report.
For more information on JasperReports, use
keyword "The JFreeChart Class Library"

0 comments:

Post a Comment