This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Approch for Jasper Report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Approch for Jasper Report" Watch "Approch for Jasper Report" New topic

Approch for Jasper Report

Swapneel Killekar

Joined: Jun 22, 2011
Posts: 14
I am new to Jasper Report, i need a few heads up before going forward with my development. My colleagues told me they are able to generate a basic report, but they are stuck with what approach should be used.

I was told we can either pass the datasource to jasper and write the queries within it, or we can query the database our-self and populate the result in bean and just pass that bean to jasper for rendering.

Kindly tell me which approach is more preferable ? and does passing the datasource have any performance hits compared to passing the bean. Also would like to know does first approach runs in a different jvm ?

Current Project Architecture Struts 2 - Spring 2.5 - Spring JDBC

Regards, Swapneel Killekar.

Feel free to ask any further queries.
It is sorta covered in the JavaRanch Style Guide.
subject: Approch for Jasper Report
Similar Threads
passing collection as datasource to jasper report.
Passing dataSource to subreport in ireport
Is it possible to pass "HTML Page" as a parameter to the jasperreport
Possible to pass multiple queries in JasperReports?
Passing Dynamic Data to reportElement in jasper report