Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MVC using struts with spring or only with spring

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which one is better approach when we are going for a web application.
Strtus with Spring and Hibernate or Spring with Hibernate.

Does MVC pattern satisfies by Spring as equally as of Struts?
 
Emanuel Kadziela
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are building an app from scratch, I would recommend using Hibernate for O/R mapping, Spring for MVC and Tapestry for display. Struts is in itself an MVC framework, so I am not sure how much you gain by using it along with Spring. I know people do use them both, but generally it is when they already have an application built in Struts and simply want to leverage some of the better attirbutes of Spring but cannot afford a full switch to a new framework.

Eman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic