Spring Framework 3.2 發布 GA 版本
自從Spring Framework 3.1發布以來已經整整一年了。我很高興地宣布,Spring框架3.2 正式發布!
我們建議升級前面所有的Spring版本,特別是從Spring框架3.1.x以后的版本,這是一個直接后繼者。
正如前面所討論的,在Spring框架3.2的主要功能包括:
* Refined Java SE 7 support within the framework as well as through upgrades to CGLIB 3.0, ASM 4.0 (both of which we're inlining now) and AspectJ 1.7
* Concurrency refinements across the framework, avoiding the use of synchronization wherever possible – in particular for scoped/prototype beans
* Allowing for @Autowired and @Value to be used as meta-annotations, e.g. to build custom injection annotations in combination with specific qualifiers
* Support for custom @Bean definition annotations in @Configuration classes, e.g. in combination with specific qualifiers, @Lazy, @Primary, etc
* Asynchronous MVC processing on Servlet 3.0, with Spring MVC handler methods being able to return Callables and DeferredResults
* Inclusion of the formerly-standalone Spring MVC Test project, allowing for first-class testing of Spring MVC applications
* Support for loading WebApplicationContexts in the TestContext framework, and further improvements for web application testing
* JCache 0.5 (JSR-107) 早期支持,作為一個Spring的后端緩存抽象
對于更詳細的內容,特是在 Spring MVC方面的許多增強,請查看文檔: New Features and Enhancements in Spring Framework 3.2 。