View source | View content page | Page history | Printable version   

Projects:Jasper Reports Cache/Specs



The goal of this project is to provide the ability of keeping the compiled Jasper Reports in cache, in order to improve the performance in the report generation by reusing the result of a report compilation in subsequent printings of that report.

State Before the Project

Currently the reporting engine is compiling every report before rendering it. If we were able to re-use the result of a report compilation each time it is generated, we would impact in a positive way to the performance of the report generation.

Cache Of Compiled Reports

A new class named CompiledReportManager will be created as the one in charge of generating and keeping the compiled reports in cache. Some considerations:

Centralize Is In Development Logic

As mentioned above, by default the cache will be disabled in case we are in development. The logic to find if there are modules in in development status is duplicated in several parts of the application:

For this reason, this logic will be centralized in the ADCS class providing a common API that can be used to know whether the application is in development status.


It will be provided a new MBean that will be accessible through JMX. It will allow to:

Retrieved from ""

This page has been accessed 879 times. This page was last modified on 16 April 2018, at 08:17. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.