Reporting Functions

Weave is integrated with, and provides the BIRT system as its default reporting tools.

The Report Engine of Weave is designed to be as generic as possible. BIRT is an implementation of the Reporting Engine and adds value to the BIRT UI designer by adding a map component and an ability to reuse data definitions created in Weave.

BIRT is an Eclipse-based open source reporting system for web applications, especially those based on Java and J2EE.

BIRT has two main components:

  1. a report designer based on Eclipse (see below), and
  2. a runtime component that you can add to an app server. BIRT also offers a charting engine that lets you add charts to your own application.

The BIRT Project currently supports two releases 2.2.2 (Included in many commercial applications) and 2.3.2 (Latest).

BIRT enables a rich variety of reports to be added to or used by Weave. Some of the capabilities are as follows:

  1. Lists: The simplest reports are lists of data. As the lists get longer, grouping can be added to organise related data together (orders grouped by customer, products grouped by supplier). If the data is numeric, then totals, averages and other summaries can be added.
  2. Charts: Numeric data is much easier to understand when presented as a chart. BIRT provides pie charts, line & bar charts and many more. BIRT charts can be rendered in SVG and support events to allow user interaction.
  3. Crosstabs: Crosstabs (also called a cross-tabulation or matrix) shows data in two dimensions: e.g. sales per quarter or hits per web page.
  4. Letters & Documents Notices, form letters, and other textual documents are easy to create with BIRT. Documents can include text, formatting, lists, charts and more.
  5. Compound Reports: Many reports need to combine the above types into a single document. For example, a customer statement may list the information for the customer, provide text about current promotions, and provide side-by-side lists of payments and charges. A financial report may include disclaimers, charts, tables all with extensive formatting that matches corporate color schemes. BIRT reports consist of four main parts: data, data transforms, business logic and presentation.
  6. Data: Databases, web services, Java objects all can supply data to a BIRT report. BIRT provides JDBC, XML, Web Services, and Flat File support, as well as support for using code to get at other sources of data. BIRT’s use of the Open Data Access (ODA) framework allows anyone to build new UI and runtime support for any kind of tabular data. Further, a single report can include data from any number of data sources. BIRT also supplies a feature that allows disparate data sources to be combined using inner and outer joins.
  7. Data Transforms: Reports present data sorted, summarised, filtered and grouped to fit the user’s needs. While databases can do some of this work, BIRT must do it for "simple" data sources such as flat files or Java objects. BIRT allows sophisticated operations such as grouping on sums, percentages of overall totals and more.
  8. Business Logic: Real-world data is seldom structured exactly as one would like for a report. Many reports require business-specific logic to convert raw data into information useful for the user. If the logic is just for the report, it can be scripted using BIRT’s JavaScript support. If an application already contains the logic, it can be called into existing Java code.
  9. Presentation: Once the data is ready, a wide range of options for presenting it to the user are provided that include tables, charts (see following example), text and more. A single data set can appear in multiple ways, and a single report can present data from multiple data sets.