HOME > GALLERY > APP INTEGRATION

App Integration

 

The first step to generate a report is create a sample XML dataset file using this line of code:

// Generate XML dataset file for EJBs, POJOs, Java Collections, JDBC ResultSet, etc.
new RMXMLWriter().writeObject(myJavaDataset, "/tmp/Dataset.xml");

This tutorial shows how to write that line of code to generate a sample XML dataset, use the dataset to create a template, and integrate the template back into the Java application to generate a report as a PDF.