The Definitive Guide to JasperReports

The JasperReports library is a very powerful and flexible report-generating tool that delivers rich content to the screen, printer, or file in PDF, HTML, RTF, XLS, ODT, CSV, or XML format. The library is written entirely in Java and can be used in a variety of Java-enabled applications, including...

Mô tả đầy đủ

Đã lưu trong:
Chi tiết về thư mục
Tác giả chính: Corporation, JasperSoft
Định dạng: Sách
Ngôn ngữ:English
Được phát hành: Apress 2013
Những chủ đề:
Truy cập trực tuyến:http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34886
Các nhãn: Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
Thư viện lưu trữ: Thư viện Trường Đại học Đà Lạt
Miêu tả
Tóm tắt:The JasperReports library is a very powerful and flexible report-generating tool that delivers rich content to the screen, printer, or file in PDF, HTML, RTF, XLS, ODT, CSV, or XML format. The library is written entirely in Java and can be used in a variety of Java-enabled applications, including J2EE or web applications, to generate dynamic content. Its main purpose is to help to create page-oriented, ready-to-print documents in a simple and flexible manner. JasperReports, like most reporting applications, uses report templates structured in multiple sections, such as title, summary, detail, and page and group headers and footers. Each section has a free-form layout in which you can place various types of elements, including images, static and dynamic text fields, lines, and rectangles. The reporting engine uses this template to organize data in an XML file (JRXML) or to create it programmatically using the library’s API. This data may come from various data sources, including relational databases, collections, or arrays of Java objects or XML data. Users can plug the reporting library into custom-made data sources by implementing a simple interface. To fill a report with data, you must first compile the initial XML report template. Compilation validates the report template and attaches some compiler-related data to it. This data is used to evaluate the report expressions at runtime. The compiled report template can be serialized to store it on disk or sent over the network. This serialized object is then used when the application fills the specified report template with data. In fact, compiling a report template involves compiling all report expressions. Various verifications are made at compilation time to check report design consistency. The result is a ready-to-fill report template that is then used to generate documents on different sets of data. To fill a report template, the engine must receive the report data. This data may come in various forms. Some of this data can be passed in as report parameters, but most of it comes from the report’s data source. The reporting engine can directly receive special data source objects that provide the information for the report, or it can use a supplied JDBC connection object if the data is in a relational database. The result of the report-filling operation is a new object that represents the ready-to-print document. This object can also be serialized for storage on disk or network transfer. It can be viewed directly using the JasperReports built-in viewer or can be exported to other, more popular formats such as PDF, HTML, RTF, XLS, ODT, CSV, and XML. JasperReports is part of the JasperSoft Business Intelligence Suite, which is a comprehensive set of tools for integrated reporting, analysis, and data integration. In addition to JasperReports, the suite is comprised of iReport, an easy-to-use designer for JasperServer, JasperReports, and Jasper4Salesforce; JasperServer, a high-performance business intelligence and report server; JasperAnalysis, an OLAP engine to drill down and slice and dice data to explore causes, trends, patterns, anomalies, and correlations using a standard web browser; and JasperETL, a ready-torun data integration platform providing data extract-transform-load (ETL) capabilities. The JasperSoft Business Intelligence Suite began as a complete open source reporting and BI solution. Today, JasperSoft offers both open source and professional versions of the suite. The professional version includes JasperStudio™, the professional edition of iReport.