Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Monica Shiralkar
Ranch Hand
Posts: 866
1
  • Mark post as helpful
  • send pies
  • 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
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • 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: 866
1
  • Mark post as helpful
  • send pies
  • 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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic