You can start with Spring in Action or other books mentioned in forum.
Concepts like Aspect Oriented Programming, Inversion of Control etc
will help you see what Spring actualy does is remove a lot of boiler plate code
& makes your application configurable to a higher extent.
Experienced Ranchers will be able to pitch in more details.
Regards,
Avishkar Nikale
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
Struts solves a very specific problem, Spring is more general-purpose and all-encompassing. Spring MVC would be the equivalent to Struts.
"More popular than Struts" depends on how you look at it.
in which way spring is better than struts am asking feature wise ..???
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
You can't compare Spring to Struts. You can compare Spring MVC to Struts. And you can't really compare Spring MVC to Struts 1, only Struts 2 (well, you *could*, but Spring MVC would win hands-down against Struts 1). Personally, I still prefer Struts 2 to Spring MVC, but out-of-the-box they're functionally much the same.
Avishkar Nikale
Ranch Hand
Joined: Aug 06, 2010
Posts: 173
posted
0
David Newton wrote:You can't compare Spring to Struts. You can compare Spring MVC to Struts. And you can't really compare Spring MVC to Struts 1, only Struts 2 (well, you *could*, but Spring MVC would win hands-down against Struts 1). Personally, I still prefer Struts 2 to Spring MVC, but out-of-the-box they're functionally much the same.