BIRT Integration

Integration Points

BIRT supplies several APIs and an Example J2EE application for generating and viewing reports. The major APIs are the Design Engine API(DE API), Report Engine API(RE API) and the Chart Engine API (CE API). These pages describe the various APIs and illustrate examples on their usage. In addition to the APIs, BIRT supports scripting using Rhino within report designs. A primer is available to get started scripting.

Example Report Viewer (J2EE App/Plugin)

The BIRT Viewer can be used in a variety of ways:

  • As a stand-alone, pre-built web application for running and viewing reports.
  • As a starter web application that you can customize to your needs.
  • Called through the BIRT tag library (BIRT 2.2 Required).
  • As a plugin in existing RCP applications.
  • As a way to run a report using a URL. This option provides a simple way to integrate BIRT reporting into applications build using non-Java technology such as Perl, PHP or even static web pages.

Web Viewer Links

Design Engine API

Use the Design Engine API (DE API) to create a custom report designer tool, or to explore or modify BIRT report designs. The BIRT Designer is built using this API. This API can also be called within BIRT script to modify the currently running report.

  • Using the Design Engine API: a brief primer for using the DE API.
  • The Design Engine code is available in the BIRT CVS repository in the org.eclipse.birt.report.model project. See the BIRT build instructions for information on how to access CVS and build the code.

Report Engine API

Use the Report Engine API to run BIRT reports directly from Java code or to create a custom web application front end for BIRT.

  • Using the Engine API explains how to use the Report Engine API to create a simple command-line program that runs reports.

Chart Engine API

Use the Chart Engine API to create and render charts apart from BIRT.

  • Using the Chart Engine API explains how to use the Chart Engine API. TBD

BIRT Scripting

BIRT uses Mozilla's Rhino engine to perform server side scripting. Scripting is used in BIRT expressions and at key events during the generation and presentation phases of report creation.

Extending BIRT

Your application can extend BIRT for your specific needs:

  • Open Data Access (ODA) Extension API
    BIRT provides a JDBC data source. Use the ODA API to create custom data sources drivers. Each driver has run-time behavior along with optional design-time UI.
  • Report Item Extension API
    The BIRT model is extensible; you can add new report items. Use this API to include design-time, run-time or presentation-time behavior.