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 Framework for Web Layer? Struts2 or Spring MVC? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "Framework for Web Layer? Struts2 or Spring MVC?" Watch "Framework for Web Layer? Struts2 or Spring MVC?" New topic
Author

Framework for Web Layer? Struts2 or Spring MVC?

Murugesan Pitchandi
Greenhorn

Joined: Nov 19, 2008
Posts: 8

I need to choose a web layer for my new application. I am about to go for Spring MVC. But my coleagues are saying that why we can't use Struts2. But they are not able to make me clear and i don't have knowledge on Struts2. Please suggest me which one i can choose and why?

Thanks in advance
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1282

If you search this forum you will get different answers its a question that has been asked often. I like Spring MVC but the 2 frameworks are similar in what they offer. I think if you are using other Spring projects that Spring MVC is better just from an integration perspective, although Struts 2 can integrate with Spring too. I think a lot of opinions boil down to which one a person is already the most comfortable with.

Here was one comparison done a while back.
-Note Struts 1 is obviously not considered.
http://static.raibledesigns.com/repository/presentations/Comparing_Kick_Ass_Web_Frameworks.pdf
https://spreadsheets.google.com/a/missiondata.com/pub?key=0AtkkDCT2WDMXdC1HOEtnUHpCejJMbUhGeGJWUmh5dVE&hl=en&output=html


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Framework for Web Layer? Struts2 or Spring MVC?
 
Similar Threads
Struts2 In Action : AJAX & Spring
Is it possible to Integrate Swing with Struts2?
Struts vs Struts2
struts2 or spring?
struts2 Vs spring mvc