The Spring Blog

Engineering
Releases
News and Events

Spring Framework 2.5.3 Released

Dear Spring community,

I’m pleased to announce that Spring Framework 2.5.3 has been released!  Download | Documentation

This is the third update release in the Spring 2.5 series. It fixes issues reported since 2.5.2 and introduces various enhancements, such as:

  • @Autowired and @Required annotations interact more intuitively
  • ControllerClassNameHandlerMapping detects @Controller beans by default
  • "bean(…)" pointcut designator matches against bean aliases as well
  • Spring 2.5 "jee:*" config elements use resource-ref="true" by default
  • new CachingConnectionFactory for JMS session and producer pooling
  • new DB2MainframeSequenceMaxValueIncrementer for DB2/390 and DB2/400
Read more...

Spring Security 2.0.0 RC1 Released

Spring Security 2.0.0 RC1 is now available.

Download
| Changelog | Announcement

Over 65 issues have been addressed, including OpenID integration, a new "protect-pointcut" for AspectJ expressions, dynamic retrieval of method authorization metadata, support for method authorization on all method types (interface, class, bridge, generic, superclass), restful URI authorization, namespace improvements, dependency updates and much more!

Read more...

Spring Batch 1.0.0.FINAL Released

Dear Spring community,
We are pleased to announce that Spring Batch 1.0.0.FINAL has been released!

Downloads | Site | Changelog | Announcement

There are no significant high-level changes since rc1, except some updates to the reference documentation. The main functional changes were that retry and skip can now be used in the same step, and there are some extra configuration options for fatal exceptions in the step factory beans.

Read more...

SpringSource Application Management Suite (AMS) Released

It has been a busy few months since SpringSource partnered with Hyperic to bring our Application Management Suite (AMS) product to market. I am pleased to announce that the SpringSource AMS beta release is now available to all. Please take a moment to evaluate the software and post your thoughts on the beta forum. We are committed to providing the best application management experience possible for Spring-powered applications, and your feedback is much appreciated!

Those who expressed an interest in SpringSource AMS at The Spring Experience in December received an email announcing the beta release. Here is an excerpt from that email that introduces SpringSource AMS and outlines some of its additional features:

Read more...

What's New in Spring Web Services 1.5?

After being in the works for about six months, I’m happy to announce that Spring Web Services 1.5.0 has been released! In this post, I’d like to go over some of the major new features.

New Transports

The 1.5 release includes two new transports: JMS and email. Using these new transports requires no Java code changes: just add a bit of configuration, and you’re off! The JMS transport integrates nicely with Spring 2’s Message-Driven POJO model, as indicated by the following piece of configuration taken from the airline sample application:

Read more...

Spring Web Services 1.5.0 Final Released

Dear Spring community,
I’m pleased to announce that Spring Web Services 1.5.0 has been released!

Downloads | Site | Changelog | Announcement

This final release candidate the following new features over 1.0.3:

  • Two new transports: JMS and email, both for client and server,
  • WSS4J-based WS-Security implementation, which allows for WS-Security on non-SUN JDKs (i.e. WebSphere) and JDK 1.4,
  • WS-Addressing support for both client and server, supporting the August 2004 and final versions of the specification,
  • Native support for Java 6, including JAXP 1.4, and the bundled SAAJ 1.3 and JAXB 2.0,
  • Two new Spring namespaces, which drastically decrease the amount of XML required to configure marshallers and typical Spring-WS constructs,
  • Spring-WS jars are now OSGi bundles,
  • A new, client-side interception mechanism, including WS-Security support,
  • @Endpoints are now @Components, so they are automatically picked up when using Spring 2.5 component scanning
  • A new and improved XSD-to-WSDL generator that inlines included and imported XSDs
  • Support for Spring Security
  • Support for the Java 6 HTTP Server
  • Two new samples, showing Plain Old XML usage and WS-Addressing with the Java 6 HTTP server
Read more...

Spring For JavaServerFaces - TSSJS Slides and Demos

Today I am delivering a presentation entitled Spring for Java Server Faces at TSSJS in Las Vegas. The presentation looks at how JSF and Spring fit together, and walks the audience through approaches to integrating these two technologies.

The slides are available for your viewing pleasure, and for you to use as you see fit.

In the presentation, I outline two approaches to integrating JSF and Spring. The first approach is what I call “JSF-centric”, which is the integration approach most folks with a traditional JSF background employ today. The second approach is what I call “Spring-centric”, which is a new, groundbreaking approach to JSF integration driven by the work done in the Web Flow 2 distribution.

Read more...

Spring Java Configuration - What's New in M3

Today marks the third milestone release of the Spring Java Configuration project (JavaConfig for short). The release contains numerous bug fixes and new features - I’ll highlight a few of the most interesting changes below, but first let me give a quick refresher as to what JavaConfig is all about.

If you have any experience with Spring, the following snippet of XML configuration will likely be familiar. Let’s assume we’re looking at a file named application-config.xml:


<beans> <bean id="orderService" class="com.acme.OrderService"/> <constructor-arg ref="orderRepository"/> </bean> <bean id="orderRepository" class="com.acme.OrderRepository"/> <constructor-arg ref="dataSource"/> </bean> </beans>
Read more...

Using a Hybrid Annotations & XML Approach for Request Mapping in Spring MVC

In Spring 2.5 it is possible to use annotations to configure all parts of a web application. Seeing annotations applied is particularly interesting in the Web layer where developers traditionally rely on the SimpleFormController and the MultiActionController for form page handling. The introduction of annotations has created a third option, one that does not require a base class while still offering the flexibility of previous approaches.

While it is easy to see the elegance in using annotated POJOs to implement Controllers, the benefit is not as clear in the area of URL-to-Controller mappings. What would it be like to define all your URL mapping rules using annotations? Indeed this is one area in which centralized configuration has worked well for developers of Spring MVC applications.

Read more...

SpringSource Tool Suite Released

This year's EclipseCon was the first that we attended as a company. We had quite a few talks, which were all well received and we announced the beta program for SpringSource Tool Suite. Overall we all had a very great time and we got lots of feedback from the Eclipse community about the projects in the Spring Portfolio and especially what we are doing in the web space. I'll make sure to forward all the feedback to the project leads in the coming weeks. Since EclipseCon is coming to its end today, I finally found time to sit down and write about what we introduced at the conference.

Read more...