Call Jasper Report / Ireport From Java Application Example describes about How to call Jasper Report and Ireport from a java application.
Jasper-Reports is a free reporting engine that could be written to screen, or to a printer or as HTML, PDF, RTF, Microsoft Excel, XML files, CSV format and ODT files.
Jasper-Report is using in Java related applications, including Web and Enterprise applications, to develop dynamic reports. It reads its instructions from jasper file (compiled) or XML dynamically
We can generate reports using two ways,
1) From "JRXML" (Source) file
2) From "Jasper" (Compiled) file