Refer to the recently added What’s new in Spring Security 3.2 to find all the highlights of this release. You will notice there are some nice features that have been added that I have not blogged about. Be sure to follow the links to see and links to details within the reference.
I’m pleased to announce that Spring LDAP 2.0.0.M1 is now available from the SpringSource repository at http://repo.springsource.org. See here for a quick tutorial on resolving these artifacts via Maven.
The release adds lots of new functionality! Some of the highlights can be found below:
- Spring Data Repository and QueryDSL support is now included in Spring LDAP.
- Fluent LDAP query support has been added.
- A custom XML namespace is now provided to simplify configuration of Spring LDAP.
- Spring LDAP core has been updated with Java 5 features such as generics and varargs.
- The ODM (Object-Directory Mapping) functionality has been moved to core and there are new methods in LdapOperations/LdapTemplate that uses this automatic translation to/from ODM-annotated classes.
Dear Spring community,
I’m pleased to announce the availability of our first Spring Framework 4.0 release candidate. This release completes our 4.0 feature set with several new features since M3:
- full compatibility with recent OpenJDK 8 Developer Preview builds
- first-class support for Groovy-based bean definitions (as known from Grails)
- autowiring based on generic types (e.g. MyRepository<Customer>)
- using Objenesis to create CGLIB proxy instances (allowing for constructor injection)
- the introduction of a ScriptEvaluator mechanism (including JSR-223 support)
- time zone resolution in Spring MVC (connected to JSR-310 and Joda-Time)
- finer-grained configuration options for Spring MVC’s @ControllerAdvice
- the introduction of MvcUriComponentsBuilder (inspired by Spring HATEOAS)
- and last but not least, a lot of fine-tuning in Spring’s new WebSocket support
Spring MVC provides several complimentary approaches to exception handling but, when teaching Spring MVC, I often find that my students are confused or not comfortable with them.
Today I’m going to show you the various options available. Our goal is to not handle exceptions explicitly in Controller methods where possible. They are a cross-cutting concern better handled separately in dedicated code.
There are three options: per exception, per controller or globally.