This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamic bean?  RSS feed

Michael Mendelson
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!