Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring newbie ?

 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Avishkar Nikale
Ranch Hand
Posts: 173
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think spring is better than struts in any of the cases.
No offenses to David. My own thinking
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in which way spring is better than struts am asking feature wise ..???
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 173
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic