Reputation: 2630
I've been working so far with Spring 2.5.x and it's time to move to Spring 3 so I need some good resources for making the migration as quickly as possible.
Although there are some good books mentioned here on SO, what I actually need is something that will just present me the "new picture" without reiterating information learned with Spring 2.5.x. and so far I wasn't able to find something good.
Do you know of such resources?
Upvotes: 0
Views: 239
Reputation: 120771
The Spring Blog was very interesting when Spring 3.0 (Milestones) was released (autumn of 2009 till middle of 2010). They show the new Features in some examples.
Except of the new features mentioned by Bonzo, in my humble opinion the most important change was to use Annotations instead of XML as the major default configuration style. XML still works (and there are also some improvements (new namespaces)) and it is at lest as power full as Annotations, but I feel that Annotations are now the more preferred style.
Upvotes: 0
Reputation: 597076
There is not too much new to spring 3. Here's a list of what I consider important:
@Value
annotation - allows you to inject primitives@Inject
, @Qualifier
and the likes.There are other minor improvements, that you will find throughout your work.
Spring 3.1 adds another two important things:
@Cacheable
on spring methods so that their invocation is cachedMy migration from 2.5 to 3.0 was smooth - I just started using @Inject
, @Value
and by looking at the reference documentation, discovering some other minor improvements.
Upvotes: 1
Reputation: 1045
I found the project docs to be useful. They're a good place to start and branch out from if you need more info on specific topics. A quick overview of the new features of Spring 3 can be found here:
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/new-in-3.html
Upvotes: 1