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

MVC architecture.  RSS feed

 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
is it a right practice to use the same bean for doing database manipulation and storage ??? i mean, does it affect performace if i use a bean for database access and the same bean for setters and getters ?? or shld i used one bean for database related things and another bean for getters and setters ??? i think making confusion !! ..
not sure if this is the right forum to post this message..if therez any other forum for MVC architecture , plz gimme the url..
thanks
raj
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is so annoying when someone posts the same question on multiple forums.. please do no do that
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oops, im sorry, i did mentioned that i didnt know where to post that message..so i thought to post it in jsp and servlet forurms..anyway im sorry if i annoyed u, anders.
raj :roll:
 
Amit Manurkar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSP-Bean architecture is not supposed to be a good one. Instead you can use one of the standard frameworks available (Struts, Tapestry etc.)
You can find some good discussion abt same on the "Framework" forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!