Two Laptop Bag*
The moose likes Other Application Frameworks and the fly likes Comparing Spring to other frameworks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Comparing Spring to other frameworks" Watch "Comparing Spring to other frameworks" New topic
Author

Comparing Spring to other frameworks

Sandesh Tattitali
Greenhorn

Joined: Aug 02, 2004
Posts: 2
The question is a bit open, but how does Spring compare to other frameworks like Struts,Tapestry,etc. When would you advise that Spring NOT be used ?

Regards
Sandesh
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
Author has indicated here, what Spring provides.
It clearly shows that Spring is much more than tapestry, struts etc and hence it wouldnt be right to compare them with Spring.
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
Originally posted by Karthik Guru:
Author has indicated here, what Spring provides.
It clearly shows that Spring is much more than tapestry, struts etc and hence it wouldnt be right to compare them with Spring.



It would be fair to compare just Spring MVC with Struts, Tapestry, WebWork and the like. But because Spring offers so much more than those other frameworks, it wouldn't be a fair comparison (Spring would win by a knock-out).

That said, (and this is just my opinion), I favor Spring MVC over Struts and WebWork. I've used Spring MVC in a handful of production apps and they've been a great success. I favor Spring MVC over Struts because Spring MVC comes with such a broad selection of Controller implementations to choose from (and for several reasons I've outlined in a post earlier this week). And, if you like the WebWork way of doing things, Spring MVC also has what they call ThrowawayController which lets you write MVC apps in the style of WebWork. And then consider all of the other stuff that Spring comes with and Spring MVC is a clear winner.

Then again, lately I've begun to prefer to use Tapestry in my presentation layer because I really like how Tapestry lets me take a raw HTML file and, with minimal effort and change, turn it into a Tapestry template. But, even though I'm using Tapestry in the presentation layer, I'm still using Spring in the service layer and Spring's integration with Hibernate to get to my persistence layer.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Comparing Spring to other frameworks
 
Similar Threads
Compare Seam
To authors
struts disadvantages
ICEFaces, how is it different or similar to Spring/GWT/Struts
Can Cucumber be ported to other frameworks like Spring/Struts or even functional frameworks?