JasperReports 3.5 for Java Developers (Paperback)

David Heffelfinger

  • 出版商: Packt Publishing
  • 出版日期: 2009-08-17
  • 售價: $1,950
  • 貴賓價: 9.5$1,853
  • 語言: 英文
  • 頁數: 350
  • 裝訂: Paperback
  • ISBN: 1847198082
  • ISBN-13: 9781847198082
  • 相關分類: Java 程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Create, Design, Format, and Export Reports with the world's most popular Java reporting library

  • Create better, smarter, and more professional reports using comprehensive and proven methods
  • Group scattered data into meaningful reports, and make the reports appealing by adding charts and graphics
  • Discover techniques to integrate with Hibernate, Spring, JSF, and Struts, and to export to different file formats
  • Written in a lucid and practical manner, this book introduces you to JasperReports and gets you creating complex and elegant reports

In Detail

Do you want to create easily understood, professional, and powerful reports from disordered, scattered data using a free, open source Java class library? If your answer is yes, this book on JasperReports is what you are looking for. JasperReports is the world's most popular embeddable Java open source reporting library, providing Java developers with the power to easily create rich print and web reports.

The book has been fully updated to use JasperReports 3.5, the latest version of JasperReports. Previously accepted techniques that have now been deprecated have been replaced with their modern counterparts. All examples in the book have been updated to use XML schemas for report templates. Coverage of new data sources that JasperReports now supports has been added to the book. Additionally, JasperReports can now export reports to even more formats than before and exporting reports to these new formats is covered in this new edition of the book.

This book shows you exactly how to get started, and develop the skills to get the most from JasperReports. It introduces you to the latest version of JasperReports, and gets you creating complex and elegant reports.

The book steers you through each point of report setup, to creating, designing, formatting, and exporting reports with data from a wide range of data sources, and integrating JasperReports with other Java frameworks.

Starting with the basics of adding reporting capabilities to your application and creating report templates, you will first see how to produce your reports through the use of JRXML files, custom ANT targets, and then preview them in both the web browser and the native browser of JasperReports.

Getting data into your reports is the next step, and you will see how to get data from a range of data sources, not only databases, but XML files, and Java Objects, among others.

You will create better looking reports with formatting and grouping, as well as adding graphical elements to your reports. You will export your reports to a range of different formats, including PDF and XML.

Creating reports will be made even easier with a walkthrough of the iReport Designer visual designing tool. To round things off, you will see how to integrate your reports with other Java frameworks, using Spring or Hibernate to get data for the report, and Java Server Faces or Struts for presenting the report.

All examples have been updated to use XML schemas. New export formats, such as OpenDocument Text, and new data sources now supported by JasperReports are now covered in this updated edition.

What you will learn from this book?

  • Overview of JasperReports, and what it can do for you
  • Significantly reduce your report design time by using the iReport report designer
  • Add reporting capabilities to your Java applications
  • Learn to ease the task of report navigation by adding hyperlinks, anchors, and bookmarks to your reports
  • Learn techniques to tweak the report layout and design, and add charts and graphics to your report
  • Generate database reports and learn to embed SQL queries into your report definition
  • Work with data sources such as arrays, collections, TableModels, and XML
  • Simplify report designing by using the subreports feature that allows you to extract complex report sections into a separate report
  • Export your reports to PDF, Excel spreadsheet, or Word document format, and direct HTML reports to a browser
  • Integrate JasperReports with Java frameworks like Spring, Java Server Faces, Struts, and Hibernate

Approach

This book is a comprehensive and practical guide aimed at getting the results you want as quickly as possible. The chapters gradually build up your skills and by the end of the book you will be confident enough to design powerful reports. Each concept is clearly illustrated with diagrams and screen shots and easy-to-understand code.

Who this book is written for?

If you are a Java developer who wants to create rich reports for either the Web or print, and wants to get started quickly with JasperReports to do this, this book is for you. No knowledge of JasperReports is presumed.

商品描述(中文翻譯)

使用世界上最受歡迎的Java報表庫,創建、設計、格式化和導出報表。

使用全面且經過驗證的方法,創建更好、更智能、更專業的報表。

將分散的數據分組為有意義的報表,並通過添加圖表和圖形使報表更具吸引力。

探索與Hibernate、Spring、JSF和Struts集成以及導出到不同文件格式的技術。

本書以清晰實用的方式介紹了JasperReports,並引導您創建複雜而優雅的報表。

詳細內容:

您是否想使用免費、開源的Java類庫從零亂、分散的數據中創建易於理解、專業且功能強大的報表?如果是,那麼這本關於JasperReports的書正是您所需要的。JasperReports是全球最受歡迎的可嵌入Java開源報表庫,為Java開發人員提供了輕鬆創建豐富的打印和Web報表的能力。

本書已完全更新為使用JasperReports 3.5,這是JasperReports的最新版本。以前已被棄用的技術已被其現代對應物所取代。書中的所有示例都已更新為使用報表模板的XML模式。書中還添加了JasperReports現在支持的新數據源的內容。此外,JasperReports現在可以將報表導出到比以前更多的格式,這本新版書中也介紹了將報表導出到這些新格式的方法。

本書將向您展示如何入門,並培養使用JasperReports的技能。它將向您介紹JasperReports的最新版本,並引導您創建複雜而優雅的報表。

本書將引導您完成報表設置的每一個步驟,從創建、設計、格式化和導出報表,使用各種數據源並將JasperReports與其他Java框架集成。

從將報表功能添加到應用程序並創建報表模板的基礎知識開始,您將首先了解如何通過使用JRXML文件、自定義ANT目標來生成報表,然後在Web瀏覽器和JasperReports的本地瀏覽器中預覽報表。

接下來是將數據添加到報表中的步驟,您將了解如何從各種數據源(不僅僅是數據庫,還包括XML文件和Java對象等)獲取數據。

您將通過格式化和分組創建外觀更好的報表,並向報表添加圖形元素。您將將報表導出為多種不同的格式,包括PDF和XML。

使用iReport Designer可視化設計工具,創建報表將變得更加容易。最後,您將了解如何使用Spring或Hibernate獲取報表數據,並使用Java Server Faces或Struts來呈現報表,從而將報表與其他Java框架集成。

所有示例都已更新為使用XML模式。本更新版還介紹了JasperReports支持的新導出格式,例如OpenDocument Text,以及新的數據源。