Programming Books C Java PHP Python Learn more Browse Programming Books
Integrating and Extending BIRT and over one million other books are available for Amazon Kindle. Learn more
Buy Used
$0.75
+ $3.99 shipping
Used: Very Good | Details
Condition: Used: Very Good
Comment: This is a very good copy with slight wear and does not include a dust jacket;
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Integrating and Extending BIRT Paperback – November 26, 2006

ISBN-13: 978-0321443854 ISBN-10: 0321443853 Edition: 1st

Used
Price: $0.75
9 New from $6.49 21 Used from $0.75
Amazon Price New from Used from
Kindle
"Please retry"
Paperback
"Please retry"
$6.49 $0.75

There is a newer edition of this item:

Year-End%20Deals%20in%20Books
NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 608 pages
  • Publisher: Addison-Wesley Professional; 1 edition (November 26, 2006)
  • Language: English
  • ISBN-10: 0321443853
  • ISBN-13: 978-0321443854
  • Product Dimensions: 7 x 1.2 x 9.2 inches
  • Shipping Weight: 2.3 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Best Sellers Rank: #3,047,294 in Books (See Top 100 in Books)

Editorial Reviews

Excerpt. © Reprinted by permission. All rights reserved.

About this book

BIRT is a powerful reporting platform that provides end-to-end reporting solutions, from creating and deploying reports to integrating report capabilities into other enterprise applications. Two companion books, BIRT: A Field Guide to Reporting and Integrating and Extending BIRT, cover the breadth and depth of BIRT's functionality.

This book informs report developers about how to write scripts that:

  • Customize the report-generation process
  • Incorporate complex business logic in their reports

This book also informs application developers about how to:

  • Deploy reports
  • Integrate reporting capabilities into other applications
  • Extend BIRT functionality

By its very nature, reporting is not a stand-alone technology. It draws on data generated by applications and is frequently integrated tightly within those applications. In some applications, such as performance monitoring, reporting provides the most tangible expression of value. Therefore, a successful reporting platform must emphasize interoperability and extensibility, and, a successful implementation of that platform must always involve some measure of integration and extension.

As you read this book, you will see the significant investment that has been made in BIRT to provide support for interoperability and extensibility. In the area of interoperability, for instance, BIRT supports flexible deployment of its report engine and viewer to a wide variety of J2EE application server environments. Other provisions for interoperability in the BIRT platform include the ability to dynamically build or modify reports from within an application using the design engine application programming interface (API) and the ability to access native data objects using the scripted data source mechanism.

In the area of extensibility, BIRT provides hooks to build upon platform capabilities in the following areas:

  • Report Items. New controls may be added to the BIRT designer palette using the report item extension API.
  • Complex Logic. Event handlers written in JavaScript or Java may be included in the generation or presentation phase of report or chart execution to incorporate custom logic required by the application.
  • Data Access. The Open Data Access (ODA) extension provides the means to develop drivers for new, non-JDBC data sources as well as create graphical user interfaces for query specification.
  • Rendering. New report output formats or output for specialized devices can be developed using the report rendering extension API.

Who should read this book

This book is intended for people who have a programming background. These readers can be categorized as:

  • Embedders and integrators. These individuals work with the software to integrate it into their current application infrastructure.
  • Extenders. These individuals leverage APIs and other extension points to add capability or to establish new interoperability between currently disparate components or services.

To write scripts in report design, you need knowledge of JavaScript or Java. More advanced tasks, such as extending BIRT's functionality, require Java development experience and familiarity with the Eclipse platform.

Contents of this book

This book is divided into several parts. The following sections describe the contents of each of the parts.

Installing and Deploying BIRT

Part I, "Installing and Deploying BIRT," introduces the currently available BIRT reporting packages, the prerequisites for installation, and the steps to install and update the packages. Part I includes the following chapters:

Chapter 1, "Prerequisites for BIRT." BIRT provides a number of separate packages as downloadable archive (.zip) files on the Eclipse web site. Some of the packages are stand-alone modules, others require an existing Eclipse environment, and still others provide additional functionality to report developers and application developers. This chapter describes the prerequisites for each of the available packages.

Chapter 2, "Installing a BIRT Report Designer." BIRT provides two report designers as separate packages, which are downloadable archive (.zip) files on the Eclipse web site. This chapter describes the steps required to install each of the available report designers.

Chapter 3, "Installing Other BIRT Packages." This chapter describes the steps required to install each of the available packages.

Chapter 4, "Updating BIRT." BIRT packages are Eclipse-based, so it is easy to update any of them from earlier releases to release 2.0 or later. This chapter describes how you can install the latest packages without interrupting your work.

Chapter 5, "Deploying a BIRT Report to an Application Server." This chapter introduces the distribution of reports through an application server such as Apache Tomcat, IBM WebSphere, or BEA WebLogic. The instructions in the chapter provide detailed guidance into deploying a BIRT report to Apache Tomcat version 5.5.7. From those instructions, a developer can infer how to deploy to other versions.

Understanding the BIRT Framework

Part II, "Understanding the BIRT Framework," introduces the BIRT architecture and the Report Object Model (ROM) and provides background information that will help programmers design or modify reports programmatically, instead of using the graphical tools in BIRT Report Designer. Part II includes the following chapters:

Chapter 6, "Understanding the BIRT Architecture." This chapter provides an architectural overview of BIRT and its components, including the relationships among the BIRT components and BIRT's relationship to Eclipse and Eclipse frameworks. Architectural diagrams illustrate and clarify the relationships and workflow of the components. The chapter also provides brief overviews of all the major BIRTcomponents.

Chapter 7, "Understanding the Report Object Model." This chapter provides an overview of the BIRT ROM. ROM is a specification for a set of XML elements that define both the visual and non-visual elements that comprise a report design. The ROM specification includes the properties and methods of those elements, and the relationships among the elements.

Scripting in a Report Design

Part III, "Scripting in a Report Design," describes how a report developer can customize and enhance a BIRT report by writing event handler scripts in either Java or JavaScript. Part III includes the following chapters:

Chapter 8, "Using Scripting in a Report Design." This chapter introduces the writing of a BIRT event handler script in either Java or JavaScript, including the advantages and disadvantages of using one language over the other. BIRT event handlers are associated with data sets, data sources, and report items. BIRT fires specific events at specific times in the processing of a report. This chapter identifies the events that BIRT fires and describes the event firing sequence.

Chapter 9, "Using JavaScript to Write an Event Handler." This chapter discusses the coding environment and coding considerations for writing a BIRT event handler in JavaScript. This chapter describes several BIRT JavaScript objects that a developer can use to get and set properties that affect the final report. The BIRT JavaScript coding environment offers a pop-up list of properties and functions available in an event handler. A JavaScript event handler can also use Java classes. This chapter includes a tutorial that describes the process of creating a JavaScript event handler.

Chapter 10, "Using Java to Write an Event Handler." This chapter discusses how to write a BIRT event handler in Java. BIRT provides Java adapter classes that assist the developer in the creation of Java event handlers. The report developer uses the property editor of the BIRT Report Designer to associate a Java event handler class with the appropriate report element. This chapter contains a tutorial that steps through the Java event handler development and deployment process. This chapter also describes the event handler methods and their parameters.

Chapter 11, "Using a Scripted Data Source." BIRT supports getting data from any data source that can be processed with Java or JavaScript. To use a scripted data source in a BIRT report, the report developer implements an open and a close method for the data source and an open, a fetch, and a close method for the data set. A scripted data source can be an EJB, an XML stream, a Hibernate object, or any variety of custom sources of data. This chapter provides a tutorial about how to add a scripted data source to a report and how to write the event handlers for that data source.

Integrating BIRT Functionality into Applications

Part IV, "Integrating BIRT Functionality into Applications," describes the public APIs that are available to Java developers, except the extension APIs.Chapter 12. Understanding the BIRT APIs. This chapter introduces BIRT's public API, which are the classes and interfaces in three package hierarchies:

  • The report engine API, in the org.eclipse.birt.report.engine.api hierarchy, supports developers of custom report generators.
  • The design engine API, in the org.eclipse.birt.report.engine.api hierarchy, supports the development of custom report designs.
  • The chart engine API, in the org.eclipse.birt.chart hierarchy, is used to develop a custom chart generator.

Chapter 13, "Programming with the BIRT Reporting APIs." This chapter describes the fundamental requirements of a reporting application and lists the BIRT API classes and interfaces that are used to create a reporting application. This chapter describes the tasks that are required of a reporting application and provides an overview of how to build a reporting application. The org.eclipse.birt.report.engine.api and org.eclip...

Customer Reviews

4.0 out of 5 stars
5 star
1
4 star
0
3 star
1
2 star
0
1 star
0
See both customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

8 of 8 people found the following review helpful By W Boudville HALL OF FAMETOP 1000 REVIEWERVINE VOICE on December 13, 2006
Format: Paperback
This book is an impressive extension on "BIRT: A Field Guide to Reporting". The latter described BIRT to a newcomer, showing how to use its features. With a minimal discussion of scripting for customisation. While the scripting certainly involved programming, it was rather minimal, and most of the text showed a declarative layout approach to using BIRT.

The Integrating book is the sequel. Strictly a programmer's book. It assumes you've read the earlier book. But now you need to take the customising [much] further. So here the text shows how to program in Java, not just JavaScript. Essentially, the bulk of the book explains the package org.eclipse.birt, which is freely available and has been built out with many classes. The problem to a programmer is the sheer multitude of those classes. An embarrassment of riches which the book tackles.

Some classes relate to customising the UI. There is a charting API built on top of Java Swing. So you can key off your pre-existing Swing expertise. Swing is pretty easy to learn, and the BIRT graphics classes seem to continue this property.

The only possible problem might be if you prefer SWT widgets for the better native look and feel. But the BIRT contributors correctly decided to support the most popular widget set, which is Swing.

Other BIRT classes relate to getting data at the back end, from various possible sources.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 4 people found the following review helpful By Y. Yang on May 31, 2008
Format: Paperback Verified Purchase
It is a very useful book for anybody starting to use BIRT. However, some sections are slightly out of date vs. the new versions (2.2.2) of BIRT in 2007.

The basic concepts in this book are still very useful, otherwise it is hard to find online information explained in such a systematic way and in such details.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again