Quantcast
Channel: Dark Views » BIRT Project
Viewing all articles
Browse latest Browse all 2

Using Java in BIRT reports

0
0
BIRT Project

Image via Wikipedia

If you need to add complex operations to BIRT reports, you have several options. One that is often overlooked is to write the operation in Java and then use the Java code in the report. This is more simple than you’d think.

Instead of creating a “Report” project, create a Java project for your reports. Now you can put the Java code in the same project or a different project and add that second project to the list of dependencies of your report project. Note that this only works if the report project is of type “Java”.

When you edit your code, you just need to save and run your report (using the various ways to run the preview).

You can even debug the code. There is just one thing you need to be aware of: In the debug configuration, you can specify if you want to debug Java, JavaScript of both. JavaScript is the default. In this mode, Java breakpoints have no effect.


Tagged: Actuate, BIRT, BIRT Project, Business intelligence, Java, JavaScript, Programming, Reporting

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images