Results 1 to 1 of 1

Thread: Reports with gvNIX 0.8.1 addon

  1. #1
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default Reports with gvNIX 0.8.1 addon

    Adds JasperReports support to Roo-based project.

    The bundle symbolic name for this add-on is org.gvnix.web.report.roo.addon . To install it, read the installation guide.

    Introduction

    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:

    Code:
        mkdir clinic
        cd clinic
    Start gvNIX:

    Code:
      clinic$ gvnix.sh
          ____  ____  ____  
         / __ \/ __ \/ __ \ 
        / /_/ / / / / / / / 
       / _, _/ /_/ / /_/ /   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.
      roo>
    Create the project:

    Code:
      roo> script clinic.roo
    Add a new report:

    Code:
      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: http://gvnix.googlecode.com
    - Spanish: http://www.gvnix.org
    Last edited by mmartinez; Nov 4th, 2011 at 02:34 AM.
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •