- OpenJDK 1.8
- gradle
- Download the jar file
- open terminal and move to the downloaded jar
- type this command
java -jar document-template-service.jar
make the application.properties file. And open with editor.
server.port=PORT_NUMBER
- design the template using Jasper Studio
- create fields and datasource
- mapping with field
- get sub datasource from main datasource
// e.g. get datasource named items from json data ((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("items")