|
|
|
|
|
JRXML Report Design Compilation
Note : In the majority of cases, the JRXML report template compilation process is an application build-time process and not a runtime process.
Normally, report templates have to be compiled only once, just like we compile Java source files and then we deploy them with the application. If the report templates are not dynamic, there is no point on recompiling them at runtime. Report definitions are static and only the data supplied to them is different with every report filling operation.
However, sometimes applications do require runtime report template compilation, so here you can see how this can be achieved in Web environment.
The following example performs the compilation of the WebappReport.jrxml file and produces the WebappReport.jasper file.
|
|
|