Tải bản đầy đủ (.pptx) (14 trang)

Tiểu luận môn Java JasperReports in Java Swing

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (146.3 KB, 14 trang )

JasperReports in Java Swing
Group 27:
Tran Trong Nhan 10520108
Doan Minh Tien 10520404
Nguyen Dinh Hoa 10520096
Java Programing Language – SE 311.D22 – Group 27
Teacher:
Master. Nguyen Cong Hoan
1
Contents
1. Overview.
2. Features.
3. Design tools.
4. Demo.
Java Programing Language – SE 311.D22 – Group 27 2
Overview
Java Programing Language – SE 311.D22 – Group 27 3
Java Programing Language – SE 311.D22 – Group 27
What is the JasperReports?

Is an open source Java library designed to aid developers with the task of adding reporting capabilities to Java
applications.

Is primarily used to add reporting capabilities to web-based applications using the servlet API.

Environments: JDK 1.4 and JRE 1.3 or over.
4
Features
Java Programing Language – SE 311.D22 – Group 27 5
Java Programing Language – SE 311.D22 – Group 27
The features of JasperReports



Flexible report layout

Multiple ways to present data

Multiple ways to supply data

Multiple data sources

Watermarks

Sub-reports

Exporting capabilities
6
Jasper Managers classes
Java Programing Language – SE 311.D22 – Group 27
JRXML
JRXML
JasperDesigner
JasperDesigner
JasperReport
JasperReport
JasperPrint
JasperPrint
Screen
Screen
Printer
Printer
PDF

PDF
HTML
HTML
XML
XML
JMXmlLoader JRCompiler
Parse Compile
Fill
JasperCompileManager
JaperFillManager
JasperPrintManager
JasperExportManager
Print
Export
7
JasperReports Life Cycle
Java Programing Language – SE 311.D22 – Group 27
Design Phase
(Create JRXML file)
Compile
(Compile JRXML file to Jasper Template)
Executive Phase
(Fill the Jasper template with data to generate Jasper
print file (.jrprint))
Export Phase
(Export the report to any desired format)
8
Design tools
Java Programing Language – SE 311.D22 – Group 27 9
Java Programing Language – SE 311.D22 – Group 27

iReport

100% support of JasperReports XML tags.

WYSIWYG editor for the creation of reports. It has complete tools for drawing rectangles, lines, ellipses, textfields,
labels, charts, sub-reports and crosstabs.

Support for all databases accessible by JDBC.

Support for Unicode and non-Latin languages (Russian, Chinese, Japanese, Korean, etc.).

Support for charts.

Integrated preview.

……

Link: />10

Current version: 4.7.1

Support NetBeans IDE: version 7.2

Link: http://
plugins.netbeans.org/plugin/4425/ireport
Java Programing Language – SE 311.D22 – Group 27
NetBeans IDE Plugins
11
Design JasperReports using
iReport-Designer

Java Programing Language – SE 311.D22 – Group 27 12
JasperReports
in Java Swing
Java Programing Language – SE 311.D22 – Group 27 13
THANK YOU FOR YOUR ATENTION
Java Programing Language – SE 311.D22 – Group 27 14

×