This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Servlets and the fly likes dynamic bean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "dynamic bean?" Watch "dynamic bean?" New topic

dynamic bean?

Michael Mendelson
Ranch Hand

Joined: Dec 19, 2000
Posts: 73
It seems that I am always setting up basic data access beans to edit/display databases. The other day I had an idea that seems so sensible, someone must have thought of it already.
For those of us who use JSP/servlets, wouldn't it be nice to have a dynamic data bean creator? I'm talking about the "worker bean" that is set up to interface with the JSP, with all the gets/sets. This is the common model, but it's so annoying to set up.
The alternative is that a simple app might query the developer, test the desired connection, and create a simple bean on the fly? Or one could write a flexible bean framework that simply reads from a properites file as it is initialized.
Again, this concept seems so sensible, someone must have done it already. If not, it seems ripe for an open source project.
Does anyone think that this would be a useful tool? Your thoughts/ideas are appreciated.
jQuery in Action, 3rd edition
subject: dynamic bean?
It's not a secret anymore!