Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts and hibernate combination

 
ashwin bala
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
From the books and forums that combining struts and hibernate inside one class is violating the design patterns and it is a bad practice.
But, i am using struts for my presentation layer that is for JSP and bean classes.I have my hibernate code ready for database transaction.
where will i call my hibernate class for sending data into database ? thanks in advance.
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the Struts documentation: How to Access a Database
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic