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

Creating a transformation with Pentaho reports


Now that you know what a Pentaho transformation is, and the basics around its development, let's see a concrete example, defining an easy ETL generating the PDF output of the well known my_first_report.prpt file. The first task to do is to copy the my_first_report.prpt file into the data-integration folder of your Pentaho Data Integration installation. This is required because it will be used as the current path during the execution of the transformation. If you don't have the my_first_report.prpt file available, you can download it from the https://github.com/fcorti/pentaho-8-reporting-for-java-developers repository, specifically, from the Chapter 15 - Using reports in Pentaho Business Analytics Platform/my_reports folder.

As a first step, let's run the Spoon GUI to start the development: open a Terminal, move to the data-integration folder, and run the spoon script. From the upper menu, click on the File | New | Transformation item to create...