Java implementation of the Lark Report (BIRT) event handling in eclipse

Source: Internet
Author: User

Lark Report (BIRT) is a very useful open source reporting tool, which can not only meet the general requirements of the Business Intelligence Field report design, but also can be combined with the Java language to achieve some more rich personalized report style. In this article, a simple example is created to create a single project in Eclipse, using the Java language to implement the Lark Report (BIRT) event response handler. Guide the reader to a preliminary understanding of the Lark Report (Birt) in a short period of time, and master the basic steps and debugging methods for creating a Lark Report (BIRT) event response handler using the Java language.

Overview

On the newly released Eclipse Ganymede package site, a new package eclipse IDE for Java and the developers (figure I), which comes from the Eclipse community's top-level project BIRT (Business Intelligence and Reporting Tools, see the "Get Products and Technology" column in resources.

Figure 1. Eclipse Ganymede Package Site

This is a powerful business intelligence Report development tool, it has a very nice Chinese name, called Lark Report. By the time this article was written, the latest version of the package, broken down by the Eclipse family, is 3.4.0, which is the latest version of 2.3.0, according to the Lark Report (BIRT) series. This means that the package is made up of 3.4.0 Eclipse The platform is integrated with 2.3.0 's Lark Report (BIRT) plug-in. The Lark Report (Birt) and Lark Report (Birt) designer, referred to below, refers to the package.

As a specialized report design tool, developers use the Lark Report (BIRT) Designer to complete data Model building and report layout design for most business intelligence domains. However, in practice, we often encounter some special personalized needs, it is difficult to use the general design methods to achieve. This often requires the developer to customize the corresponding report event response handler to resolve. The Lark Report (BIRT) Designer provides a JavaScript development and debugging environment where developers can easily use JavaScript to implement event response handlers for reports. At the same time, The Lark Report (BIRT) also has the mechanism to invoke the event response processing class directly written by Java, although it is somewhat complicated to do it using Java compared to JavaScript, but for developers who are accustomed to using the Java language, or want to take advantage of rich Java resources, This approach is a pretty good choice.

This article then creates a single project in Eclipse, using a simple example, to introduce a sample report and implement a report event response handler in the Java language. Guide the reader to a preliminary understanding of the Lark Report (Birt) in a short period of time, and master the basic steps and debugging methods for creating a Lark Report (BIRT) event response handler using the Java language.

Get ready

First download the Lark report (the Birt-eclipse IDE for Java and report developers) at the Eclipse Ganymede package site (see Resources, "Get products and technology"), and then unzip to the system after downloading to complete the installation 。

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.