DynamicJasper: Runtime generation of Jasper Reports

| by Ryan Slobojan Follow 0 Followers on Oct 08, 2007. Estimated reading time: 1 minute |

DynamicJasper, an open-source API which provides runtime generation of Jasper Reports, recently released version 1.3. InfoQ took the opportunity to learn more about this product, and what it provides for users.

DynamicJasper builds on top of Jasper Reports, which itself recently released version 2.0. It provides:

  • Dynamically-created repeating groups and variables - repeating groups can be created at runtime using either simple or complex expressions - they can also have headers and footers which display operation results (e.g. SUM or COUNT)
  • Custom styling of columns - the display of both the column headers and the column data can be customized at runtime with HTML-like properties (e.g. borders, style, colours, font)
  • Calculated columns - column values can be based on formulas (e.g. column A * column B) or on custom Java operations
  • Simplified subreports and combined reports - subreports and combined reports can be created with ease, and they can also be dynamic
  • Simplified chart creation - chart creation is done by selecting columns from a given report and a report type
  • Exporting of reports - Reports can be exported to Jasper Reports-supported formats such as PDF, HTML and RTF - they can also be exported to Excel in a plain format without page breaks and formatting, which is time-consuming with Jasper Reports
  • WebWork integration - As with Jasper Reports, DynamicJasper also integrates with WebWork

There is also an online test application which shows DynamicJasper working together with Google Web Toolkit (GWT) - future plans include releasing the GWT integration as a ready-to-integrate component of DynamicJasper, as well as the addition of three-level subreports.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

DJStruts2Result question by Carlos Jhunie Pangilinan


I use struts and dynamic jasper 3.1.1. But the struts2 Result uses TestUtils class from struts 2.0.x version. It is missing in struts 2.1.x. How can I use DJ in struts I am getting a java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.TextUtils. How can I resolve that?

ClassNotFoundException: com.opensymphony.xwork2.util.TextUtils by girish kareti

I got the same problem. If you get solution can you send it to me.


Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you