Jump to content
Changes to the Jaspersoft community edition download ×

Using mutiple JavaBeans in a single Report


ravishankar2003

Recommended Posts

Hi All,

 

We have been trying the Sample examples and have been quite successful doing the Javabean example as a single datasource.

 

However, we have a requirement where in we have been asked to use several JavaBeans for generating a single report. We are looking for a solution.

 

One approach which we could think of, was to go in for a nested JavaBeans, with a wrapper bean having the needed beans in it. The nested beans would then be retrieved from the ArrayDataSource / CollectionDataSource and be passed to the subreports.

 

At the moment we are looking at this as the best possible approach.

 

Incase theres a better and a simpler approach to this situation can someone please share and guide with us.

 

thanks,

Ravishankar

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...