aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "dynamic bean?" Watch "dynamic bean?" New topic
Author

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: dynamic bean?