• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

First steps with Hibernate + JasperReports + iReports

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,

I'm a newbie to the combination just said above. I have started reading about it, and I've through the following material:

http://www.hibernate.org/79.html
http://www.jroller.com/page/wakaleo/?anchor=using_hibernate_queries_with_jasperreports
http://sourceforge.net/docman/?group_id=64348

So far, so good. I got my first steps about JasperReports and iReports, which were unknown to me until now. But I still have some doubts.

1. When using hibernate with iReports, what kind of datasource should I use? Javabeans set datasource, custom jrdatasource, or jrdatasource provider? I suppose it's number 2, right? I'm kinda lost here because I could easily create a JDBC datasource and test it, but still have had no success in creating one for use with hibernate. I can't create a report using a JDBC datasource and then use it in my system with JRBeanCollectionDataSource, can I? How should I to to create one for this use?

2. How will I call the report from my jsp? I know it's kinda basic, but I have seen no examples.

3. It's a webapp, so it may be a little ugly if acrobat shows up everytime my user requests a report. It's there any way to show the report in the page, maybe in a frame or something?

If you have any material on the combination I'm using, please, show me 'cause I'd like to read it.

Thank you all so much.
 
Leticia Barbalho
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Someone?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic