This project demonstrates a basic implementation of JasperReports integrated with Spring Boot, providing a simple REST API to generate and return PDF reports dynamically.
- 📦 JasperReports integration with Spring Boot
- 🧾 API endpoint to generate PDF reports
- 🧰 Configurable report templates (
.jrxmlfiles) - ⚙️ Dynamic data filling for report generation
- 💡 Easy to extend for custom report requirements
This project serves as a starter template for integrating JasperReports in Java-based applications.
It can be extended for use cases like:
- Billing or invoice generation
- Patient or employee reports
- Statistical summaries
- Any server-side PDF generation use case
| Component | Technology |
|---|---|
| Backend Framework | Spring Boot |
| Reporting Engine | JasperReports |
| Language | Java |
| Build Tool | Maven / Gradle |
| Output Format |
- A
.jrxmlreport template is compiled into a.jasperfile. - Data (from static or dynamic sources) is filled into the report.
- JasperReports engine exports the filled report to a PDF file.
- The API returns the generated PDF in the HTTP response.
The API generates a PDF (e.g., sample_report.pdf) containing formatted data like:
- Title and header section
- Tabular data
- Footer or summary
This project is licensed under the MIT License.
🛠️ A simple and extensible starting point for building JasperReports-powered PDF generation APIs in Spring Boot.