13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>Code Example 3-1A simple JRMXL file example, continuedDuring compilation of the JRXML file (using some UR classes), the XML is parsed and loaded in a JasperDesignobject, which is a rich data structure that allows you to represent the exact XML contents in memory. Without going intodetails, regardless of which language is used for expressions inside the JRXML, UR creates a special Java class thatrepresents the whole report. The report is then compiled, instanced and serialized in a JASPER file, ready for loading at anytime.UR's speedy operation is due to all of a report’s formulas being compiled into Java-native bytecode and the reportstructure being verified during compilation instead of run time. The JASPER file does not contain extraneous resources, suchas images used in the report, resource bundles to run the report in different languages, or extra scriptlets and external styledefinitions. All these resources must be provided by the host application and located at run time.36

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!