Wednesday, 18 December 2013

Spring Framework 4.0 available


Source :- Spring Framework 4.0 RC1 available

Spring Framework 4.0 works beautifully with Java 8 and also allows applications to be written partially or entirely in Groovy, a concise dynamic language on the JVM. Spring Framework 4.0 also provides the foundation for new advances in the Spring IO platform such as Spring Boot. Spring Boot nearly eliminates initial configuration work altogether.


This release completes our 4.0 feature set with several new features since M3:

1. full compatibility with recent OpenJDK 8 Developer Preview builds.
2. first-class support for Groovy-based bean definitions (as known from Grails).
3. autowiring based on generic types (e.g. MyRepository).
4. using Objenesis to create CGLIB proxy instances (allowing for constructor injection).
5. the introduction of a ScriptEvaluator mechanism (including JSR-223 support).
6. time zone resolution in Spring MVC (connected to JSR-310 and Joda-Time).
7. finer-grained configuration options for Spring MVC's @ControllerAdvice.
8. the introduction of MvcUriComponentsBuilder (inspired by Spring HATEOAS).
9. and last but not least, a lot of fine-tuning in Spring's new WebSocket support.