• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean Design Question  RSS feed

Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am calling some beans that return a lot of info for reports. There beans are intenisive db calls.
I have done a variety of things.
*One time I made a huge db call, and then just returned the ResultSet to the jsp.
*One other time, I created an object and then returned an array of obects when the method is called.
Are there other ways? Which is better worse?
I mean this is an object oreintd language so making a lot of objects seems logical except that when we first started, all the objects were like User, Building, Country, intangible stuff.
Since this is for reporting, maybe I can stick all these objects into one clas..
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!