• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Approch for Jasper Report

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic