wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring latest version & Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring latest version & Struts" Watch "Spring latest version & Struts" New topic
Author

Spring latest version & Struts

pankaj vijay
Ranch Hand

Joined: Apr 01, 2008
Posts: 75
Hi
I have knowledge of struts 1 BUT no idea about struts 2. I am thinkgin to learn spring OR struts 2. I heared that struts 1 & struts 2 both are completely different products. I am little bit confuse that what should i learn Spring OR struts2.

Spring & struts 2 both are same OR both are different products???
for which version of spring i should go??
which one is good book for spring???

Please help...............


Pankaj Vijay (SCJP, SCBCD)
Learn Core Java,Learn Servlet Jsp, SCJP Questions,Struts Tutorial
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Spring and Struts are completely separate projects, although Spring may be used with either version of Struts. You heard correctly that Struts 1 and Struts 2 are completely different frameworks (except for the name).

For Spring I'd learn as recent a version as possible; if you want to be cutting-edge you could start learning Spring 3.0, otherwise 2.5 is a good choice.

Note that Spring includes its own MVC layer, making it unnecessary to learn Struts 2. I still prefer the way Struts 2 works compared to Spring MVC 2.5, and haven't really evaluated Spring MVC 3.0 yet. Struts 2 has a Spring plugin, however, that allows all Struts 2 objects to be created via Spring, so the integration is pretty nice.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring latest version & Struts
 
Similar Threads
Should I learn Struts 1.X or Struts 2.X?
Struts 2 or Struts 1 beginner
Preprequisites
confusion?
Struts 1.x or Struts 2 ?