1. Create a DataSource Object: (this example uses an XML file as data source)
2. Compile your .jrxml file:
3. Create a JasperPrint object by filling in the compiled report with your data source:
params is your report parameter map.
4. Use any of the JasperExportManager or JasperPrintManager method to export or to print your JasperPrint object:
I hope this helped,
[ December 09, 2005: Message edited by: Ramses L. ]