• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

when to go for SpringMVC and when to go for Struts.How to make a choice?what are advantage of both?

 
Ranch Hand
Posts: 2629
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to know when to go for Spring MVC and when to go for Struts. both are different and doing the same task.so what is advantage of one over another(Spring MVC over struts ,not Spring over Struts or vice versa).How to make a choice whether to go for Struts or SpringMVC?
thanks
 
Ranch Hand
Posts: 608
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The choice would depend on many factors. How much of code base do you currently have in struts? Whats the primary skill of the current team? Is there a adaptation of either as a standard organization framework?
I don't think there too much of advantage of one over the other - specifically if you are looking at struts too.

You could also get the best of both worlds by using Spring as you Object Factory in a Struts projects.

In the end the answer is "depends" ...
 
Monica Shiralkar
Ranch Hand
Posts: 2629
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.As you said one can also get the best of both worlds by using Spring as you Object Factory in a Struts projects.I assume that means Using Struts MVC and Spring IOC.
While thats fine, actually what I wanted to compare was "SpringMVC and Struts" NOT "Spring and Struts".
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic