aspose file tools*
The moose likes Spring and the fly likes what is the advantage of spring over struts.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "what is the advantage of spring over struts.." Watch "what is the advantage of spring over struts.." New topic
Author

what is the advantage of spring over struts..

siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
Hi,
Can anyone tell me
what is the advantage of spring over struts.
Dependency Injection is the basis of spring.
But struts also implements Dependency Injection.
Then how spring is good than struts.
Thanks
Lalit Bhatt
Ranch Hand

Joined: Dec 27, 2007
Posts: 69

Spring is a much bigger framework than struts. Struts can be compared to one part of Spring that is Spring MVC. Apart from this Spring provides many other things like:
- AOP support
- Data access techniques integration (eg JDBC)
- security framework from spring-security
- Support for webservices frameworks.
- JMX support
etc
For some tutorials of spring check here


Java-JavaEE Hibernate Spring Software Development Business Process Analysis
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Spring Web MVC is just a module of Spring Framework.
You cannot compare entire Spring Framework with Struts.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the advantage of spring over struts..