File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Difference between Spring 2 and Spring 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Difference between Spring 2 and Spring 3" Watch "Difference between Spring 2 and Spring 3" New topic

Difference between Spring 2 and Spring 3

Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1341


Please tell me the

a. difference between Core Spring 2.5 and Core Spring 3.

a. difference between Spring MVC 2.5 and Core Spring MVC 3.


Oracle certified Java 8 Programmer I (1Z0-808), Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

.5 to both questions.

There are docs on for Spring 3.0 called What's new. That will tell you everything.

Keys to Spring 2.5 to 3.0

3.0 requires Java 5. 2.5 can use Java 1.4
Spring Expresssion Language
More Annotations, covers everything that you could do in xml
Spring Converters
Adding Java Config module to Core Spring
Spring RESTful Web Services are new
More namespaces

for MVC, more Annotations, Spring RESTful WebServices, which includes HttpMessageConverters, ContentNegotiatingViewResolver and MVC Namespace

But everything that you could do in 2.5 you can also do in 3.0.

For everything else, you will need to check the documentation on Spring's website.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Difference between Spring 2 and Spring 3
It's not a secret anymore!