There are several libraries used JasperReports Java API for creating reports with Java:
This libraries/frameworks can build reports "on fly" with or without using report's template (jrxml file)
The current version of designer is based on Eclipse: Jaspersoft Studio.
The previous version of designer was based on NetBeans: iReport Desigher.
The first version of iReport Designer was independent appliсation - iReport Classic
In recent releases the third-party jars in the lib folder are not distributed, they need to be download from public repositories, see distributed
pom.xmlfor dependencies. Maven can be used to retrieve all dependencies including the transient ones in the target/dependence folder.
Jaspersoft Studio is the official design client for JasperReports--built on the Eclipse platform--to replace iReport Designer.
iReport Designer is the previous report designer for JasperReports. Version 5.6.0 (released in May of 2014) was the last official version; vendor support ended at the end of 2015.
The work flow in jasper-reports is:
.javafile being compiled to
This band is showed once at the beginning of the report. It can be used as first page by setting the attribute
This appears at the beginning of each page excluding first page if Title band is used and last page if Summary band is used with setting
This appears before the detail band on each page.
This section is iterated for each record in datasource supplied. It is allowed to have multiple detail band (detail 1, detail 2 .. detail n), the are iterated as follows
Row 1 detail 1 detail 2 detail n Row 2 detail 1 detail 2 detail n
This appears below the detail band on each page where detail band is present. The default setting is end of page (before Page footer) but this can be switch to under last detail band (last record) by setting the attribute
This appears at the bottom of each page excluding title band, summary band (without page footer) and last non summary band if Last Page Footer is used.
This appears on last page (if not summary band without page footer) instead of normal Page Footer
This appears at the end of the report in new page if
isSummaryNewPage="true" is set and with page header and footer if
This section appears if a group is defined every time the group expression change, before the detail band.
This section appears if a group is defined every time before the group expression change, after the detail band.
This band is displayed on every page as background to all other bands.
This appears only if no datasource was passed or the datasource is empty (0 records) and
whenNoDataType="NoDataSection" is set.
.jrxmlis the report design file, it's format is in human readable XML, it can be complied into a
JasperReportobject and saved as a
.jasperis the compiled version of the
.jrxmland can be loaded directly into a
JasperReportobject ready to be filled with data
.jrprintis the serialized
JasperPrintobject, a report that have already been filled with data and can be loaded to be printed, viewed and/or exported to desired format.
.jrpxmlis the XML rappresentativo of a
JasperPrintobject it can be modified and then unmarshaled to retrieve the