Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Pentaho 8 Reporting for Java Developers
Pentaho 8 Reporting for Java Developers

Pentaho 8 Reporting for Java Developers: Create pixel-perfect analytical reports using reporting tools

Arrow left icon
Profile Icon Jasmine Kaur Profile Icon Corti
Arrow right icon
$29.99 $43.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (2 Ratings)
eBook Sep 2017 470 pages 1st Edition
eBook
$29.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Jasmine Kaur Profile Icon Corti
Arrow right icon
$29.99 $43.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (2 Ratings)
eBook Sep 2017 470 pages 1st Edition
eBook
$29.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$29.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Pentaho 8 Reporting for Java Developers

Getting Started with Report Designer

After the introduction of Pentaho Reporting and an overview from twenty thousand feet, in this chapter, you will start with a practical hands-on session, learning how to run Pentaho Report Designer for the very first time. In addition, you will take your first steps in creating a report with your preferred layout, using some initial data as an example.

You will begin by setting up an environment for building reports. From there, you will walk through some initial details of the user interface, like menus, toolbars, report element palettes, report canvas tab panels, report explorer, element properties, and messages. After learning more about the user interface, you will walk through the creation of a report from scratch. At this stage, you will be using the easy wizard available in...

Prerequisites of your environment

As described in Chapter 1, Introduction to Pentaho Reporting, Pentaho Reporting is a suite of open source tools, including Report Designer, Reporting Engine, and Reporting SDK. All the preceding tools are written in pure Java, allowing any operating system that supports the Java runtime environment to run the application. The latest version of Pentaho Reporting, the 8th, requires the use of JDK 8 or more recent version.

Pentaho Reporting tools are cross-platform applications and will run in Linux, Windows, macOS, and other Java supported environments. The Reporting Engine is backward compatible with previous versions of JDK, but it is always recommended to use the latest one.

As stated in the introduction, in this chapter we are going to focus our attention on Pentaho Report Designer. The discussion on Pentaho Reporting SDK will...

Setting up the Pentaho Report Designer

As you can expect, the first task for our goal is to download Pentaho Report Designer from the correct website. The distribution packages are available in a couple of places: on the SourceForge website (https://sourceforge.net/projects/pentaho) and directly on the official Pentaho website (http://community.pentaho.com/projects/reporting). In every case, the distribution packages are free for downloading and no fee or costs should be asked.

If you choose to download Pentaho Report Designer from the official Pentaho website, an automatic redirect will send you to the SourceForge website. To find the right distribution in the SourceForge website, follow the Report Designer folder in the Files repository. There you will find one subfolder for each version. Choose the latest available, in our case version 8.0.

In the distribution...

Introduction to the user interface

Now that you have Pentaho Report Designer installed in your environment and you know how to launch it, let's move another step forward, introducing the user interface. After launching the Pentaho Report Designer, you will notice the following six main graphical components. All together, the components work with the unique goal to create the report. From the top left to the bottom right of the window, you can recognize:

  • The menu and toolbar, where you can request the execution of all the possible actions on reports
  • The report element palette, where you can select report elements for your report
  • The report canvas tab panel, which displays your report
  • The report explorer panel, with the Structure and Data tabs, displaying the entire report in object tree form
  • The element properties...

Creating your first report using the wizard

Now that you have successfully installed Pentaho Report Designer and you are more confident with the user interface, in this section, you will walk through building a first complete report. The report you are going to develop will list all the products in the catalog defined in the SampleData schema and more precisely, stored in the PRODUCTS table.  Before you begin, create a directory called my_reports on your laptop, to manage the files you will develop in this book.

In the GitHub repository available at https://github.com/fcorti/pentaho-8-reporting-for-java-developers, you can find the source code described in all the examples of this book. In the Chapter 02 - Getting started with Report Designer/my_reports folder, you can find the example described here, in...

Previewing the report

Now that the Report Design Wizard has completed its job, you have a fully featured report in your Pentaho Report Designer. The following screenshot shows what the user interface looks like:

If you don't understand the details of the structure and the meaning of each label, don't worry. In the later chapters, we will cover all the details about the Pentaho Report Designer and you will practice a lot to became a real expert of the entire tool.

Before any other task, let's update the title and subtitles to make them more meaningful. To modify the title, double-click on the Report Title text and replace the content with My first report. After this, double-click on SubTitle 1 and SubTitle 2 and remove the text in both. At the end of the changes, the titles should look like the following screenshot...

Prerequisites of your environment


As described in Chapter 1, Introduction to Pentaho Reporting, Pentaho Reporting is a suite of open source tools, including Report Designer, Reporting Engine, and Reporting SDK. All the preceding tools are written in pure Java, allowing any operating system that supports the Java runtime environment to run the application. The latest version of Pentaho Reporting, the 8th, requires the use of JDK 8 or more recent version.

Pentaho Reporting tools are cross-platform applications and will run in Linux, Windows, macOS, and other Java supported environments. The Reporting Engine is backward compatible with previous versions of JDK, but it is always recommended to use the latest one.

As stated in the introduction, in this chapter we are going to focus our attention on Pentaho Report Designer. The discussion on Pentaho Reporting SDK will be covered in the next chapter. About Reporting Engine, it is used as core component in the designer and the SDK, so it will be treated...

Setting up the Pentaho Report Designer


As you can expect, the first task for our goal is to download Pentaho Report Designer from the correct website. The distribution packages are available in a couple of places: on the SourceForge website (https://sourceforge.net/projects/pentaho) and directly on the official Pentaho website (http://community.pentaho.com/projects/reporting). In every case, the distribution packages are free for downloading and no fee or costs should be asked.

If you choose to download Pentaho Report Designer from the official Pentaho website, an automatic redirect will send you to the SourceForge website. To find the right distribution in the SourceForge website, follow the Report Designer folder in the Files repository. There you will find one subfolder for each version. Choose the latest available, in our case version 8.0.

In the distribution folder, you can find three packages available (let's ignore the .sum files containing checksum strings only). The first two packages...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Use this unique book to master the basics and advanced features of Pentaho 8 Reporting.
  • A book showing developers and analysts with IT skills how to create and use the best possible reports using the Pentaho platform.
  • Written with a very practical approach: full of tutorials and practical examples (source code included).

Description

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.

Who is this book for?

This book is written for two types of professionals and students: Information Technologists with a basic knowledge of Databases and Java Developers with medium seniority. Developers will be interested to discover how to embed reports in a third-party Java application.

What you will learn

  • The basics of Pentaho Reporting (Designer and SDK) and its initial setup.
  • Develop the most attractive reports on top of a wide range of data sources.
  • Perform detailed customization of layout, parameterization, internationalization, behaviors, and more for your custom reports developed with Pentaho Reporting.
  • Integrate Pentaho reports into third-party Java application with full control over interactions, layout, and behavior in general.
  • Use Pentaho reports in the other components of the Pentaho Suite (BA Platform and PDI).

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 15, 2017
Length: 470 pages
Edition : 1st
Language : English
ISBN-13 : 9781788295833
Vendor :
Hitachi Vantara
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Sep 15, 2017
Length: 470 pages
Edition : 1st
Language : English
ISBN-13 : 9781788295833
Vendor :
Hitachi Vantara
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 164.97
Pentaho 8 Reporting for Java Developers
$54.99
Learning Pentaho CTools
$54.99
Learning Pentaho Data Integration 8 CE
$54.99
Total $ 164.97 Stars icon

Table of Contents

17 Chapters
Introduction to Pentaho Reporting Chevron down icon Chevron up icon
Getting Started with Report Designer Chevron down icon Chevron up icon
Getting Started with Reporting SDK Chevron down icon Chevron up icon
Creating a Report with Report Designer Chevron down icon Chevron up icon
Design and Layout in Report Designer Chevron down icon Chevron up icon
Configuring JDBC and Other Data Sources Chevron down icon Chevron up icon
Including Graphics and Charts in Reports Chevron down icon Chevron up icon
Parameterization, Functions, Variables, and Formulas Chevron down icon Chevron up icon
Internationalization and Localization Chevron down icon Chevron up icon
Subreports and Cross Tabs Chevron down icon Chevron up icon
The PRPT Format and the Java API to Build It Chevron down icon Chevron up icon
Developing Using Data Sources Chevron down icon Chevron up icon
Internationalization, Subreports, and Cross Tabs Using Java Chevron down icon Chevron up icon
Building Interactive Reports Chevron down icon Chevron up icon
Using Reports in Pentaho Business Analytics Platform Chevron down icon Chevron up icon
Using Reports in Pentaho Data Integration Chevron down icon Chevron up icon
Pentaho Reporting Nightly Build and Support Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(2 Ratings)
5 star 50%
4 star 0%
3 star 50%
2 star 0%
1 star 0%
ANGEL FDO. BORROY LOPEZ Oct 09, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Analytics is one of the mainstreaming topics for the next years. As content is spread in so many sources, the need to build relevant information is now more important than ever. Pentaho, probably the most used open source Analytics tool in the market, includes a reporting tool able to mix together information from every source to provide the right view for every user. These were my motivations to start this reading.On the other hand, Francesco, who is a well-known open source developer both in Pentaho and Alfresco communities, describes in this book a detailed guide to build this kind of reports in Pentaho for Java skilled developers. Every single configuration & feature is exposed in depth and also a nice (and public) ready-to-play samples catalog is provided at GitHub. I'd wish many other books had a so extensive real material to play with.I've been developing in Java for 20 years now and I've been also writing Pentaho reports in the past. Having this book as reference, it looks like it's going to be much easier in the future... IMO, this book is a must for everyone starting to write Reports in Pentaho but it's also a useful reading for advanced developers, as it covers every topic in detail.
Amazon Verified review Amazon
Charles Hayden Mar 20, 2018
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
Very light coverage of the reporting SDK. Superficial and incomplete information about how to create and use subreports. Better than nothing, but not enough to build a cimple reporting system.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.