Book Image

BIRT 2.6 Data Analysis and Reporting

By : John Ward
Book Image

BIRT 2.6 Data Analysis and Reporting

By: John Ward

Overview of this book

BIRT is an Eclipse-based open source reporting system for web applications based on Java and Java EE. To address a wide range of reporting needs within a typical application, ranging from operational or enterprise reporting to multi-dimensional online analytical processing (OLAP), you need to know BIRT from head to toe. If you wish to start making reports easily and quickly, and also want to be up-to-date with the latest developments in BIRT, then this book is for you. It will guide you from scratch to develop reports using the Eclipse BIRT project. You will learn how to connect to data, use report items to display and format data, and use scripting to build advanced reports and charts.The book steers you through each step of report setup, to creating, designing, formatting, and deploying reports with data from a wide range of data sources. Its focus is on familiarizing you with the most visible and familiar product built with the BIRT framework – the BIRT Report Designer. It starts by introducing the concepts of business intelligence and open source software, and different installation methods. It will introduce you to the various visual report elements that can be used to design BIRT reports, such as the Palette and Grid components. You will learn the details of the data components of BIRT (the Data Source and the Data Set), different types of source data that BIRT supports such as XML files, flat text files, and databases, and the creation of all of the elements while connecting to Data Sources in reports and Report Projects. By the end of the book, you will be able to enhance the presentation of your report using Charts, Hyperlinks, and Drill Through. You will also be able to take advantage of the scripting capabilities that BIRT has to offer with Expressions and Event Handlers and successfully deploy BIRT reports.The book includes a case study at the end along with a real-world example that runs throughout the book.
Table of Contents (15 chapters)
BIRT 2.6 Data Analysis and Reporting
Credits
About the Author
About the Reviewers
Preface

Eclipse framework


If you've never been exposed to Eclipse before, it can seem somewhat overwhelming. In fact, I'm sure some seasoned Eclipse users would still agree. The Eclipse framework is an interesting one to work with. What started as an Integrated Development Environment (IDE) for Java programming has grown into a full fledge framework for application development. With Eclipse, it is possible to develop applications utilizing the already pioneered area of graphical development using Eclipse's SWT and extend Eclipse functionality utilizing Eclipse's Plugin architecture. Applications developed on top of Eclipse can then be deployed as extensions to an already existing Eclipse installation or distributed as Rich Client Platform (RCP) standalone applications.

There is a series of core classes that are included with each Eclipse or RCP application. These classes contain all the necessary classes for building and managing the application and the application interface building. The core application is then extended using plugins. Things such as the Content Versioning System (CVS) browser, Java IDE, C++ IDE, and various tools in the Web Tools Projects are all plugins to Eclipse.

This is how the BIRT Report Designer works. The Designer API extends the core Eclipse functionality by providing the BIRT perspective with the report palette, the report designer, and ways to execute the BIRT Viewer for report previewing. From the BIRT perspective, this provides some really interesting deployment strategies. For shops that are purely focused on report development, a BIRT RCP application can be deployed to the desktops for developers to work with and not be burdened down with any of the other Eclipse features. This is beneficial where simplicity is key and developers might be confused with Eclipse concepts such as having to change perspectives to access the full features of an Eclipse plugin.

For the more robust development house, the plugin approach would be more ideal. This is beneficial for, let's say, building a larger enterprise Web application utilizing the Eclipse Web Tools Project (WTP) for J2EE, and being able to switch over to and utilize BIRT to handle data reporting tasks for this application. This way you can get the best of both worlds, you would have the impressive set of features that WTP offers such as web service creation wizards, server deployments, and the ability to debug applications in Eclipse, and be able to have the WYSIWYG report editor of BIRT for rapid development of data driven user facing interactivity.

This also allows users to develop Java applications that leverage the BIRT Report Engine and quickly switch over to the report designer for you to have your entire development process under one roof. Additionally, you can get the added bonus of utilizing Eclipse's internal tools such as the CVS tool for team project management, or using the free Subclipse third-party plugin for subversion repositories.

Currently, BIRT already leverages ODA for data extensibility, so this is one example of how building on top of the Eclipse framework has benefited the BIRT project. By utilizing the Eclipse Data Tools Project, BIRT can leverage the already existing driver framework and not have to repeat the development cycle.

While previous versions of BIRT included WTP Integration, 2.5 has this as a separate download. This add-on provides several additional project types and deployment wizards that simplify building WTP-based projects that integrate BIRT technologies. There is also a set of JSP tag libraries that make it easy to work with BIRT in JSP pages.