Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the advantage of spring over struts..

 
siddharth das
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring Web MVC is just a module of Spring Framework.
You cannot compare entire Spring Framework with Struts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic