GeeCON Prague 2014*
The moose likes Spring and the fly likes Spring newbie ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring newbie ?" Watch "Spring newbie ?" New topic
Author

Spring newbie ?

vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129

am newbie in spring ...need some understanding about the frame work ??

can i use spring as a replacer to struts ??

i think spring is popular than struts ??

what is the diffrence between two???


VIJINDAS
Avishkar Nikale
Ranch Hand

Joined: Aug 06, 2010
Posts: 173
Vijin,

Spring is much more than replacement of Struts.

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: 12617

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.
jas preet
Ranch Hand

Joined: Mar 31, 2010
Posts: 76

I think spring is better than struts in any of the cases.
No offenses to David. My own thinking


Thanks Jaspreet ----- Nothing is permanent
vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129

in which way spring is better than struts am asking feature wise ..???
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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
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.


Well said.
 
GeeCON Prague 2014
 
subject: Spring newbie ?