Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Extract database information using Eclipse and BIRT V2.0

Design dynamic reports, charts, and templates

Scott Delap (scott@clientjava.com), Desktop/Enterprise Java Consultant
Scott Delap is an independent consultant specializing in Java EE and rich Java clients. He has presented papers at JavaOne and is actively involved in the desktop Java community. He is also the administrator of ClientJava.com, a portal focused on desktop Java development. ClientJava.com is frequently featured all over the Web, from JavaBlogs to Sun Microsystems' Web site.
Robert Thornton (ret1@acm.org), Java Consultant, Daugherty Business Solutions
Robert Thornton has been developing in the Java language for six years and is currently a consultant for Daugherty Business Solutions. He works as a developer and architect on Java EE applications at various clients in the St. Louis, Mo., area. He has a strong focus on object-oriented development and works primarily in the Java and C++ languages.

Summary:  The Eclipse Business Intelligence and Reporting Tools (BIRT) project comprises a set of open source plug-ins for Eclipse that you can use to create compelling reports for Web applications. Learn how to install BIRT V2.0, configure it for use with a database, employ its functionality to design dynamic reports and charts, and create templates for future reports.

Date:  25 Apr 2006
Level:  Intermediate PDF:  A4 and Letter (394 KB | 27 pages)Get Adobe® Reader®

Activity:  12728 views
Comments:  

Before you start

About this tutorial

Business intelligence refers to collecting and analyzing business information. Reports are one main avenue for doing that and a key part of most organizations. Your company collects a lot of data about its business and performance. However, if that data isn't compiled and presented in an orderly way, key decision-makers base their choices on guesswork. By pulling raw data out of those disparate systems and presenting it in an intelligent fashion, those decision-makers can make informed choices that help steer your company in the right direction.

The Eclipse Business Intelligence and Reporting Tools (BIRT) project is a set of open source plug-ins for Eclipse you can use to create compelling reports for Web applications. Using BIRT, you can create dynamic database-driven reports with a full range of formatting capabilities. BIRT V2.0 supports Hypertext Markup Language (HTML) and Portable Data Format (PDF) report generation, and can embed these reports seamlessly into existing Java™ Platform Enterprise Edition applications. BIRT reports can present data in lists, tables, and myriad chart types.

You can do most of what you need to do with BIRT through the BIRT Report Designer, in which you can drag and drop components to create rich reports. For those cases where you need to go beyond that, BIRT can call Java objects. BIRT is not limited to working with a set number of databases. If you have a data source that isn't Java Database Connectivity (JDBC)-accessible, you can use the Open Data Access framework built into BIRT to write connectors to talk to any data source and present it as a tabular data source.

BIRT reports can combine data from multiple data sources and multiple representations of the same data source all on the same reports. With compound reports, you can combine charts, lists, and other data into one report.


Objectives

Our goal here is to help you get familiar with BIRT and with the BIRT Report Designer so you're prepared to connect to data sources and create dynamic reports. The tutorial also provides an overview of BIRT's formatting and layout abilities, as well as template-creation capabilities.

Prerequisites

This is written for Java developers who will be generating reports or report developers who will be using BIRT, and whose skills and experience are at a beginning to intermediate level. You should have a general familiarity with Eclipse and installing plug-ins.

System requirements

To run the examples in this tutorial, you must have a system capable of running Eclipse (Microsoft® Windows®, Linux®, Solaris, AIX®, HP-UX, Mac OS X) with at least 200 MB of free disk space.

Download and install the following tools and technologies:

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source, Information Management
ArticleID=109241
TutorialTitle=Extract database information using Eclipse and BIRT V2.0
publish-date=04252006
author1-email=scott@clientjava.com
author1-email-cc=
author2-email=ret1@acm.org
author2-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.