maven dependency for jasper
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>5.1.2</version>
</dependency>
A way to generate report using compiled jasper
dataObject - List or Map of data values
jrxmlPath- Jasper path
JRBeanCollectionDataSource jrDataSource = new JRBeanCollectionDataSource(dataObject);
To run or generate report
JasperPrint jasperPrint = JasperFillManager.fillReport(jrxmlPath, jrDataSource);