Spring Framework 3.1 released
VMware's SpringSource division has announced the general availability of Spring 3.1, its open source framework for Java application development. Spring 3.1 is the first release to include "first class" Java 7 support; previous versions will work with Java 7, but 3.1 has support for JDBC 4.1 and ForkJoinPool setup.
A new declarative caching abstraction using assertions such as @Cacheable and @CacheEvict is designed to make it simple to define the interactions between application code and cache providers. Web applications can now be bootstrapped without a web.xml file thanks to a WebApplicationInitializer mechanism as the framework offers developers an alternative to XML-based configuration. MVC processing has been revised with flash attribute support, @RequestPart annotations for multipart uploading, and refinements to REST support.
Object-relational (O/R) mapping support has been updated to allow for JPA package scanning without persistence.xml, and support for Hibernate 4.0 (CR7) has been added. The update also includes many recent bug fixes and is fully compatible with Spring 3.0. It is recommended that all Spring 3.x users upgrade to the new release.
Further information about the update can be found in a post on the SpringSource Blog and in the change log. The Apache 2.0 licensed Spring 3.1 is available to download from the Spring Community Downloads page, and requires Java 5 or later and Servlet 2.4 or later; updated documentation is also available.