java - What is the best approach to use JasperReports? -
Here we are talking about three main products: JasperReports : which only generate reports To do is have a library and fill it with iReport : A GUI tool for developing the template used by the above library JasperServer : Users' permissions and other features Full application with web interface to manage reports with
The documentation is not really good, I want to integrate the JasperReports
with my application ( spring
/ ) Hibernate
), please advise what is the best way to do this,
1- Using the embedded SQL Generator, spring
inside iReport
, but I had to face a lot of problems and there was no clear document for this part No
2- Attach it to my supporter Ject, the same hibernate
to use the configuration, the organizations already created
3 - Try using JasperServer
, which looks complex, and then reports as a web server. Bring it out
Or any other better, guaranteed approach, I know that it depends on how my project is working, but I lack time, so it's a better document or tutorial Depends on the approach.
You can write your own Jasper structure in a module or a sub-project. You can retain the definitions of the report with separate inquiries and feed them with the data produced by your code.
In this way all the data and handling resides in your project where the track is easy to edit or (such as when you need to change only one aspect of the query, add a filter or perform better. Rewrite it). Also, in this way you can use the report data for some more (for example, add CSV or XML output).
Comments
Post a Comment