JAVA Report API   Designer  
 
     
SourceForge.net Logo
Introduction
   ____________________________________________________________________
JAVA Report API with Designer

Report Engine
General scheme
View generation module (View)
Scheme of processing View.xml
PDF format report generating scheme
Data extract and process module (Data)
Module to generate the final document in the given format.
Use of Report Engine as GUI application
Use of Report Engine as a library
Visual Designer
Visual report appearance generating module (View)
View generation module
Visual data extract and process module (Data)
Visual data generating module (Data)
Report example
 
JAVA Report Engine

The main goal of this project is to deliver to programmers and customers a convenient solution for the report generating with the definite data obtained from different sources (database, text file, xml file). The flexible interface is a distinctive feature of this product. It gives a possibility to use this Report Engine as an independent product to generate the report in different views or to integrate it into any program product using the granted common program interface (public API), to tune it to oneís own needs and also to extend the base functionality.

Report generating by means of Report Engine is based on xml/xsl transformations.

The application architecture consists of three main elements:
  • View generation module (View)
  • Data extract and process module (Data)
  • Module to generate the final document in the given format.

  • General scheme

    View generation module (View)

    This part of Report Engine releases the view Ė appearance report marking. The own marking format is done in the context of this part of the product realization based on xml with the fixed number of the view elements and marking of the output reports.

    This part of Report Engine operates in the following way: input view.xml is transformed into xsl to process the obtained data (data.xml) by the processing means with the corresponding xsl file. For transformation in html we get the result already at this stage.



    Scheme of processing View.xml

    For output in pdf we get fo-xml (xml corresponding to FO standard) at this stage including both data and the marking information, and only then after FOP library processing we get pdf.


    PDF format report generating scheme

    Data extract and process module

    This part deals with receiving of a userís data from different sources and preparing of the data for the final report. The data receiving module work is based on the userís query.xml file.

    The adapters architecture necessary to connect to different data sources is made in the context of this module realization. Now we have released an adapter to connect to the database based on jdbc driver indicated by the user.

    Operating of this part of Report Engine results in structured data for the report in data.xml format. The data set is transformed into data.xml format for the subsequent xsl transformation based on view.xml



    Module to generate the final document in the given format

    Report Engine can be used in two different ways: as an independent application and as API for programmers intending to include Report Engine as a library in their projects.


    Use of Report Engine as GUI application

    Primary GUI is implemented for reports forming by users on their own files. ReportFactory class is called out from GUI with delivery of the input data and the report generating starts. There is a possibility to attach the userís generator classes to get different output formats. The flexible configuration system allows to tune practically all the parameters used during generating. It is also possible to launch this application from the command line.


    Use of Report Engine as a library

    Using of Report Engine as a library a programmer both gets an access to high level classes (ReportFactory) and has got a possibility to redefine practically all the classes used during the report generating.

    Visual Designer

    The main goal of this software is to provide the user with a useful determination of the structure visual composition and the report view. This application is a web application and it is available via a usual web browser. It allows both to create and export view.xml and query.xml for future use in Report Engine and to realize the complete cycle of the report creating and generating. It also allows to keep and edit the reports saved before.

    Application functionality includes three main elements:
  • Visual report appearance generating module (View)
  • Visual data extract and process module (Data)
  • Report generation module

  • Visual report appearance generating module (View)

    This module is assigned for visual final report view generating. It allows to format the appearance of the final report and to determine in it the layout of static and dynamic elements.   The static elements allow to add html elements to the report. The dynamic tables and charts contain the query data.


    View generation module

    Visual data extract and process module (Data)

    This module allows to create xml file with the selected data source queries. It represents a query generator to the data source. Allows to select and check the data source connection and sets the query rules for the required data.


    Visual data generating module (Data)

    Report example
     
    All rights reserved.