Book Image

Pentaho 8 Reporting for Java Developers

By : Jasmine Kaur, Francesco Corti
Book Image

Pentaho 8 Reporting for Java Developers

By: Jasmine Kaur, Francesco Corti

Overview of this book

This hands-on tutorial, filled with exercises and examples, introduces the reader to a variety of concepts within Pentaho Reporting. With screenshots that show you how reports look at design time as well as how they should look when rendered as PDF, Excel, HTML, Text, Rich-Text-File, XML, and CSV, this book also contains complete example source code that you can copy and paste into your environment to get up-and-running quickly. Updated to cover the features of Pentaho 8, this book will teach you everything you need to know to build fast, efficient reports using Pentaho. If your interest lies in the technical details of creating reports and you want to see how to solve common reporting problems with a minimum of fuss, this is the book for you.
Table of Contents (25 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Example of interactive reports using Java


Thanks to the Pentaho Reporting capabilities, the development of interactive reports is straightforward. As a demonstration of how an interactive report would work, you will see here how to develop different types of interactions. The examples shared here cannot be exhaustive, but will give you an overview of the most relevant features you can use in your future developments.

Opening a static URL from a Pentaho report

The first example we are going to show is about a very basic feature: opening a custom URL by clicking on a report's element. To see in action a working example, a complete project is available in the https://github.com/fcorti/pentaho-8-reporting-for-java-developers repository, specifically, in the interactive-report project stored in the Chapter 14 - Building interactive reports folder.

Looking at the source code of the project, there is something we didn't have the change to see in the previous chapters of the book: how to preview a...