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.
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
Create the project:
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ / 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.
Add a new report:
roo> script clinic.roo
Run mvn tomcat:run in the root of your project, create a new pet and generate the report accessing the new menu entry.
roo> web report add --controller ~.web.PetController --reportName PetReport --format pdf,xls
More info at:
- English: http://gvnix.googlecode.com
- Spanish: http://www.gvnix.org