Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javabean

 
Keith Lockey
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am writing a web application and I want to encapsulate the data in in databeans. This is working fine. I also have jdbc calls per a jsp page. I am wondering if I should put the jdbc calls inside the databeans or just create a new package called service and make a service class per each jsp page, and use the beans here to make inserts, updates, etc?
I am trying to follow a framework similiar to struts, I got the service idea from struts, but I don't want to create dynaforms.
Does anyone have a good framework to follow.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic