Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

MVC using struts with spring or only with spring

 
Ranch Hand
Posts: 642
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?
 
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
 
Skool. Stay in. Smartness. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic