Reader small image

You're reading from  Pentaho 5.0 Reporting by Example: Beginner's Guide

Product typeBook
Published inAug 2013
PublisherPackt
ISBN-139781782162247
Edition1st Edition
Tools
Right arrow
Author (1)
Right arrow

Time for action – creating a context Listener


We will now create and configure a Listener and a Servlet respectively inside our project. Finally, we will initiate our server and test the service by executing our report inside a web browser.

  1. To be able to function efficiently, PRD's API requires a process of initialization. This process will load libraries and perform tasks related to the setup of the execution environment needed to process reports rapidly. We can perform this initialization using a certain type of web components, called Listeners.

    Listeners are used to process events that are divided into categories and are generated by the server at various levels. In our case, we are interested in listening to events at a container level, particularly at the time at which the container is initiated. This is done so that the users do not have to pay the price of initializing components, thus improving the users' experience in a noticeable way.

  2. Next, we will create a Listener inside our project...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Pentaho 5.0 Reporting by Example: Beginner's Guide
Published in: Aug 2013Publisher: PacktISBN-13: 9781782162247