This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes MVC using struts with spring or only with spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "MVC using struts with spring or only with spring" Watch "MVC using struts with spring or only with spring" New topic
Author

MVC using struts with spring or only with spring

Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

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

Joined: Mar 24, 2005
Posts: 186
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
 
 
subject: MVC using struts with spring or only with spring
 
Similar Threads
Does Spring Framework provide an ORM?
Frameworks according to layers
Spring
Struts,Spring,Hibernate in the industry.
MVC for spring+hibernate projects