File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes when to go for SpringMVC and when to go for Struts.How to make a choice?what are advantage of both? 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 » Spring
Bookmark "when to go for SpringMVC and when to go for Struts.How to make a choice?what are advantage of both?" Watch "when to go for SpringMVC and when to go for Struts.How to make a choice?what are advantage of both?" New topic
Author

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

Joined: Jul 07, 2012
Posts: 586
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

Joined: Feb 08, 2009
Posts: 597

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" ...


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 586
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".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when to go for SpringMVC and when to go for Struts.How to make a choice?what are advantage of both?
 
Similar Threads
SpringMVC vs. Struts
How many folks use Spring?
Integration
Struts v. Spring
struts2 Vs spring mvc