Web framework with JasperReports integration?
- by Dave Jarvis
What web development frameworks natively support JasperReports?
Consider the following form as an example:
<form name="report" method="post">
<input type="hidden" name="REPORT_PATH" value="reports/Names" />
<input type="hidden" name="REPORT_FILE" value="List" />
<input type="hidden" name="REPORT_FORMAT" value="pdf" />
<input type="hidden" name="REPORT_EMBED" value="false" />
Name: <input type="text" name="report_Name" value="" /><br />
Date: <input type="text" name="report_Date" value="" /><br />
<input type="submit" name="View" value="View" />
</form>
The framework would pass the report_ parameters to JasperReports, which in turn runs reports/Names/List.jasper, and then sends a PDF attachment to the browser.
In general:
Ability to configure report (i.e., the hidden REPORT_ variables)
Web FORM for setting report parameters (i.e., the report_ variables)
Framework handles configuring database connection, report execution, etc.
I don't care about the technical minutia on how the integration works. The example above is just one possibility of many.