Presentation is loading. Please wait.

Presentation is loading. Please wait.

JasperReports and iReport Training Joe Ferrall Senior Programmer/Analyst - NWOCA.

Similar presentations


Presentation on theme: "JasperReports and iReport Training Joe Ferrall Senior Programmer/Analyst - NWOCA."— Presentation transcript:

1 JasperReports and iReport Training Joe Ferrall Senior Programmer/Analyst - NWOCA

2 2 Components JasperReports –http://jasperforge.org/sf/projects/jasperreports iReport –http://www.jasperforge.org/sf/projects/ireport

3 Jasper Reports –Reporting engine –Report compiler –Various output options PDF, HTML, XLS, CSV, XML, RTF, TXT –Various data source options JDBC, EJB, POJO, Hibernate, XML, extensible… –Integrated charting –Extensive formatting capabilities

4 iReport Visual design tool Comes with latest.jar for JasperReports Capable of designing reports/forms, as well as compiling report definitions

5 Files of interest.jrxml – report definition (xml format).jasper – compiled report definition Note: iReport can open both for editing

6 iReport Settings Options -> Settings –General Tab –Compiler Tab Use the reports directory for compiles Autosave before compiling Compiler – JasperReports default –External Programs Setup for your system Options -> Compatibility –Set to appropriate version for the application working with (currently 1.2.0)

7 Customizing existing reports Compiled.jasper reports found under WEB-INF/reports These are the default reports, do not modify/replace these If customizations are needed, these should be copied and then changed

8 Common Tasks Moving report elements Changing the font of report elements Adding/Removing report elements –Text (static and field) –Images Other formatting (Demo)

9 Completing Changes Save new report definition as.jrxml Compile report, this will produce a new.jasper file Follow directions for setting up a custom configuration file and override the property for the report file to point to the new custom report. –http://wiki.ssdt.oecn.k12.oh.us

10 Presentation Copies of this presentation, the steps for setting up the custom configuration, and additional USASWeb resources can be found under the SSDT Public Wiki at: –http://wiki.ssdt.oecn.k12.oh.us


Download ppt "JasperReports and iReport Training Joe Ferrall Senior Programmer/Analyst - NWOCA."

Similar presentations


Ads by Google