Free Sample
+ Collection

Pentaho Reporting 3.5 for Java Developers

Will Gorman

Create advanced reports, including cross tabs, sub-reports, and charts that connect to practically any data source using open source Pentaho Reporting.
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847193193
Paperback384 pages

About This Book

  • Create great-looking enterprise reports in PDF, Excel, and HTML with Pentaho's Open Source Reporting Suite, and integrate report generation into your existing Java application with minimal hassle
  • Use data source options to develop advanced graphs, graphics, cross tabs, and sub-reports
  • Dive deeply into the Pentaho Reporting Engine's XML and Java APIs to create dynamic reports
  • Work with a multitude of examples throughout the book for quick learning on every topic

Who This Book Is For

This book is primarily written for Java developers who want to assemble custom reporting solutions with Pentaho Reporting. Their main interest is in the technical details of creating reports and they want to see how to solve common report problems with a minimum of fuss; they do not need an overview of BI or the importance of reporting.

Secondary audiences of this book are IT professionals who need to install a reporting solution in their environment, and want to learn advanced concepts within Pentaho Reporting such as sub-reports, cross-tabs, data source configuration, and metadata-based reporting.

Table of Contents

Chapter 1: An Introduction to Pentaho Reporting
Typical uses of Pentaho Reporting
Pentaho Reporting history
Feature overview
Pentaho Reporting architecture
Chapter 2: Pentaho Reporting Client and Enterprise Examples
Pentaho Reporting and example prerequisites
Setting up Pentaho Reporting
Building your first report
Embedding your report in a Swing application
Embedding your report in an enterprise web application
Chapter 3: Pentaho Reporting Examples in the Real World
Setting up the example data source
ElectroBarn inventory report
End of the day cashier balances
ElectroBarn invoice example
Chapter 4: Design and Layout in Pentaho's Report Designer
Report Designer user interface components
Report bands
Report elements
Visual layout in Report Designer
Pentaho Report Designer shortcut keys
Working with fonts
Considerations for different output formats
Chapter 5: Working with Data Sources
Pentaho Reporting Engine Data API
Existing DataFactory implementations
Accessing data throughout a report
Chapter 6: Including Charts and Graphics in Reports
Supported charts
Including static images in your report
Including dynamic images in your report
Chapter 7: Parameterization, Functions, Formulas, and Internationalization in Reports
Report parameterization
Working with functions and expressions
Working with formulas
Internationalization and localization of reports
Chapter 8: Adding Sub-Reports and Cross Tabs to Reports
Adding sub-reports
Adding cross tabs
Chapter 9: Building Interactive Reports
Interactive reports in Swing
Interactive reports in HTML
Chapter 10: API-based Report Generation
Understanding the serialized report format
Building a report using Pentaho Reporting's Java API
Wizard Java API
Chapter 11: Extending Pentaho Reporting
Implementing report functions and expressions
Implementing a formula function
Implementing BeanShell expressions
Implementing a report element
Chapter 12: Additional Pentaho Reporting Topics
Using Pentaho Reporting with Pentaho's Business Intelligence Server
Mobile reporting
Data source metadata in Pentaho Reporting
Working with Pentaho Reporting's output layer
The Pentaho community—getting help and contributing

What You Will Learn

  • Install and get started with Pentaho Reporting
  • Build great-looking reports that render as PDF, Excel, and HTML using Pentaho Report Designer
  • Learn the ins and outs of Pentaho Report Designer, including a list of short-cut keys for quick report generation
  • Configure your JDBC database and other data sources to drive dynamic reports
  • Include Pie, Bar, Line, and many other chart types within your reports, as well as other graphics
  • Parameterize your reports, using the open formula standard to drive calculations within your reports
  • Add sub-reports and cross tabs in your reports to more effectively present information
  • Build interactive Swing and HTML reports that are more like dashboards than traditional static enterprise reports
  • Build Pentaho Reports programmatically with easy-to-use XML and Java APIs
  • Learn to write your own open formula functions and custom graphical elements in reports
  • Write your own extensions to Pentaho Reporting, for complete integration and customization into your environment
  • Find out why you should use open source reporting over proprietary reporting offerings (hint: it's free and you can customize it)
  • Install Pentaho's BI Server and deploy your reports with permissions and scheduling with zero code.

Chapter 1 An introduction to Pentaho Reporting – Get a quick overview of Pentaho Reporting, including a feature summary and architectural summary, as well as a history of the product.

Chapter 2 Pentaho Reporting client and enterprise examples –
Install and create reports, and learn to embed reports in your J2EE and client Java applications.

Chapter 3 Pentaho Reporting examples in the real world – Connect to a JDBC data source and create realistic inventory, balance, and invoice reports, including charts and sub-reports.

Chapter 4 Design and layout in Pentaho's Report Designer – Take a deep dive into Pentaho's Report Designer, learning how to create great-looking reports.

Chapter 5 Working with data sources – Learn the various ways to connect your report to live data, including JDBC, Hibernate, Java Beans, OLAP, and many other data sources.

Chapter 6 Including charts and graphics in reports – Incorporate Pie, Bar, Line and many other chart types in your reports, as well as including dynamic images in your report.

Chapter 7 Parameterization, functions, formulas and style expressions in reports – Define parameters for dynamic report generation. Write formulas and use available functions for rich summary and calculated values in your reports. Dynamically adjust colors and styles using expressions in your report.

Chapter 8 Adding sub-reports and cross tabs to reports – Build reports that include side-by-side sub-reports and cross tabs.

Chapter 9 Building interactive reports – These aren't standard boring static reports. Learn how to add dynamic interaction to HTML and Swing reports, for immediate feedback and dashboard-like functionality.

Chapter 10 API-based report generation – Build reports from XML and by using Pentaho Reporting's Java Bean API.

Chapter 11 Extending Pentaho Reporting – Learn to write custom functions and elements within Pentaho Reporting.

Chapter 12 Additional Pentaho Reporting topics – Discover how to use Pentaho Reporting with the Pentaho BI Server, including Pentaho Metadata. Learn more about Pentaho Reporting's open source approach, and how you can contribute to the free software movement.

In Detail

Pentaho Reporting lets you create, generate, and distribute rich and sophisticated report content from different data sources. Knowing how to use it quickly and efficiently gives you the edge in producing reports from your database. If you have been looking for a book that has plenty of easy-to-understand instructions and also contains lots of examples and screenshots, this is where your search ends.

This book shows you how to replace or build your enterprise reporting solution from scratch with Pentaho's Reporting Suite. Through detailed examples, it dives deeply into all aspects of Pentaho's reporting functionalities, providing you with the knowledge you need to master report creation.

This book starts off with a number of examples to get you familiar with the tools and technology of the Pentaho Reporting Suite. Then, with additional examples, it goes into advanced subjects such as charting, sub-reporting, cross tabs, as well as API generation of reports. There are also details and examples on extending Pentaho's open source reporting engine. The reader will learn the ins and outs of Pentaho Report Designer, including a cheat sheet with all the available short-cut keys, to make report design efficient and painless.

Embedding reports into your Java application can be difficult. With Pentaho Reporting it's just a few lines of code. The book provides examples of how to embed reporting into your J2EE and client Java applications, as well as showing you how to build dynamic reports from scratch using Pentaho Reporting's simple Java Bean-based report generation API.

Setting up and integrating a reporting server in an enterprise environment can be arduous. In addition to learning how to build great embeddable reports, you'll also learn how to combine Pentaho Reporting with Pentaho's BI Server for a zero-code, easy-to-configure, enterprise reporting solution.


Read More

Recommended for You