Announcement Announcement Module
No announcement yet.
Reports with gvNIX 0.8.1 addon Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reports with gvNIX 0.8.1 addon

    Adds JasperReports support to Roo-based project.

    The bundle symbolic name for this add-on is . To install it, read the installation guide.


    Reporting is needed within every organization and almost within every enterprise application, so we've added support for including reports in Roo-based applications.

    Spring has support for using JasperReports with Spring MVC and we think the easiest way to have reports in Roo-based Spring MVC applications is to implement an addon that configures this support and let Spring to do the rest.

    Enterprise applications could contain operational and analytical reports, we started to support operational reporting and hope future versions will include basic analytical reporting.

    Note that operational reporting refers to the day to day activities. The detail data is more in demand than the summary data. Operational reports range from forms, such as paychecks to precisely formatted reports such as regulatory submissions.

    This kind of reports have to meet the requirements of the numerous groups of users within an organization, all the way from the information consumer to the executive who needs quick snapshots of information. To solve that, we generate the artifacts for the case we think is the worst case, when the user has to use a form to filter the data.

    Go for it, add a new report and all needed report artifacts will be created in your project, including the .jrxml file for easier report customization.

    Reports support in Pet clinic

    Create a new directory for the project

    Bash shell:

        mkdir clinic
        cd clinic
    Start gvNIX:

          ____  ____  ____  
         / __ \/ __ \/ __ \ 
        / /_/ / / / / / / / 
       / _, _/ /_/ / /_/ /   X.X.X.RELEASE [rev xxxxxx]
      /_/ |_|\____/\____/   gvNIX distribution X.X.X
      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
    Create the project:

      roo> script clinic.roo
    Add a new report:

      roo> web report add --controller ~.web.PetController --reportName PetReport --format pdf,xls
    Run mvn tomcat:run in the root of your project, create a new pet and generate the report accessing the new menu entry.

    More info at:

    - English:
    - Spanish:
    Last edited by mmartinez; Nov 4th, 2011, 02:34 AM.