The moose likes Spring and the fly likes Spring newbie ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply 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: 12612
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: 72

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: 12612
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.
 
 
subject: Spring newbie ?
 
Threads others viewed
Spring and JDO
I am newbie to Struts...should i start with struts1 or struts2?
Spring framework in jee layers
Where to start Spring 2 or 3 ?
regarding what framework is for what
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture