Viewing: Adding Reports Directly to the Repository > Overview of a Report Unit

Overview of a Report Unit

In the server, a report unit is the collection of elements required to retrieve data and format output. Elements of a Report Unit shows how the various elements contribute to the report output:

   The data source and query retrieve data for the report.

   The main JRXML determines the layout.

   The main JRXML file is the core of the report unit.

   The main JRXML defines other elements in one of the following ways:

    Creating definitions internally.

    Referring to existing elements elsewhere in the repository.

In this case, the main JRXML uses the repo: syntax to refer to the other elements.

   The input controls and various resources contribute to the output as needed.

For more information about the report unit, refer to the JasperReports Server Ultimate Guide.

 

Elements of a Report Unit