This Week in Spring, June 5th, 2012

Engineering | Josh Long | June 06, 2012 | ...

Welcome back to another installment of This Week in Spring. As usual, we've got a lot to look at this week so let's get to it..

  1. The video from Chris Beams's recent webinar on the various styles of dependency injection that Spring supports is up. Chris is a core Spring framework engineer (and all around good guy). This video is definitely worth a watch especially if you still think Spring configurations requires XML.
     <LI> Oleg Zhurakousky announced the availability of 
    	 <a href = "">
    	 Spring Integration 2.1.2 RELEASE and 2.2.0M2</A>. The new releases are filled with many important bug fixes as well as several  
    	 new features.  
    	<LI>  Roy Clarkson has announced the availability of <a href= "">Spring Android 1.0.0.RELEASE</A>! The project is an extension of the Spring Framework that aims to simplify the development of native Android applications by providing RESTTemplate support for…

Spring Integration 2.1.2.RELEASE and 2.2.0.M2 are released!

Releases | Oleg Zhurakousky | June 04, 2012 | ...

The Spring Integration team is pleased to announce the release of:

Spring Integration 2.1.2.RELEASE - a small maintenance release with some important bug fixes

Spring Integration 2.2.0.M2 - Second milestone release of 2.2 stream whose main theme is JPA support as well as other important features and improvements

More information is available on project's home page

Spring for Android 1.0.0 Released

Releases | Roy Clarkson | May 30, 2012 | ...

Dear Spring Community,

We are pleased to announce the general availability of Spring for Android 1.0!

Spring for Android supports usage of the Spring Framework in a Android environment.

This GA release includes minor fixes and improvements since the RC1 release. See the changelog and reference manual for more information.

A significant change in this release is that the default RestTemplate constructor no longer includes any message body converters. However, an alternate constructor allows you to include a standard set of message converters, similar to previous releases. See the API Javadoc and Reference Manual for more details on this change.

To retrieve the software, download the release distribution, or add the maven artifacts to your project. Sample apps are available at

We want to thank the community for their contributions to this GA release, and we look forward to working with them on future releases. If you are building a native Android app, we encourage you to try out Spring for Android 1.0 and collaborate with us on the next iteration of the project.

Video: Spring Dependency Injection Styles

News | Adam Fitzgerald | May 30, 2012 | ...

This video provides a tour of modern dependency injection and Spring container configuration styles, including those available in the Spring 3.1 release. Spring expert and long time committer, Chris Beams, shows by example the use of Java @Configuration classes, Annotated POJOs, and XML to wire up your application. The presentation covers not just how to configure the container to use these options, but will also discuss why you would choose one method over another, as well as how they can be mixed and matched.

Be sure to thumbs up the presentation if you find it useful and subscribe to the SpringSourceDev channel to see other recordings and screencasts.

This Week in Spring: May 29th 2012

Engineering | Adam Fitzgerald | May 29, 2012 | ...

Welcome back to another installment of This Week in Spring! As usual, we have a lot to cover, so let's get straight to it!

  1. Chris Beams has announced that the first milestone release towards Spring 3.2 is now available! This release is great!
    	It includes 
    	initial support for asynchronous <CODE> @Controller</CODE> methods,
    	early support for JCache-based cache providers,
    	significant performance improvements in autowiring of non-singleton beans,
    	initial delay support for <CODE> @Scheduled</CODE> and <CODE> &lt;task:scheduled&gt;</CODE>,
    	ability to choose between multiple executuors with <CODE>@Async</CODE>,
    	enhanced bean profile selection using the not (<CODE>!</CODE>) operator,  
    	48 bugs fixed, 8 new features and 36 improvements implemented. 

    Check out the latest and greatest bits now, and feel free to give feedback!

    When I asked for any items for consideration into this roundup on my Twitter account, one user immediately shot back: "With the Spring 3.2 news, how about a poll on whether the community wants 3.2 M1 to be followed by RC1. It's too good to wait." I agree, this release is

Spring Framework 3.2 M1 Released

Releases | Chris Beams | May 29, 2012 | ...

The first milestone release toward Spring 3.2 is now available from the SpringSource repository at See here for a quick tutorial on resolving these artifacts via Maven.

This release includes:

This is also the first release since our move to GitHub and using our new Gradle build. A special thanks to the authors of the many pull requests submitted and merged during 3.2 M1! Keep them coming!

Download | Documentation | Javadoc API | Change Log | JIRA | Forum | Stack Overflow

Spring Roo 1.2.2.RELEASE available

Engineering | Alan Stewart | May 28, 2012 | ...

The Spring Roo team is pleased to announce the availability 1.2.2.RELEASE.  This is the second maintenance release for 1.2 and includes fixes for a number of issues and includes support for Spring Framework 3.1.1 and JDK 7.  Roo 1.2.2 also includes the excellent new "tailor" feature provided by our new partner, Accenture.

I hope you enjoy this new release!


Spring Roo Project Lead

SpringSource Tool Suite 2.9.2 released

Releases | Martin Lippert | May 24, 2012 | ...

Dear Spring Community,


We're pleased to announce the update release 2.9.2 of the SpringSource Tool Suite (STS).


This update release got updated to support and ship the just released vFabric tc Server 2.7 and includes a few bug fixes. More details on new features and bug fixes can be found in the New and Noteworthy document. Detailed installation instructions are also available. As always downloads are available from the STS download page.



Transactions, Caching and AOP: understanding proxy usage in Spring

Engineering | Michael Isvy | May 23, 2012 | ...

In the Spring framework, many technical features rely on proxy usage. We are going to go in depth on this topic using three examples: Transactions, Caching and Java Configuration.

All the code samples shown in this blog entry are available on my github account.


First step: no transaction

The Service class below is not transactional yet. Let’s first look at it as is and then make it become transactional.

public class AccountServiceImpl  implements AccountService {

//Not specifying a transaction policy here!
 public void create(Account account) {

Since the method “create” is not transactional, it will most likely throw an exception (because this Account object should not…

This Week in Spring - May 22nd, 2012

Engineering | Josh Long | May 22, 2012 | ...

Welcome back to another installment of This Week in Spring. We have a lot of great content this week, as usual!

  1. Rossen Stoyanchev has put up another blog in his series on Spring MVC 3.2 Preview. This latest installment introduces a Spring MVC chat example.
  2. Oliver Gierke has announced the 1.1.0 GA version of Spring Data JPA. Spring Data JPA makes it very simple to build JPA-based repositories, saving you from the tedious boiler plate code. This new release includes new keywords for query generation (LessThanEqual, GreaterThanEqual, Before, After, StartsWith, EndsWith, and Contains), a handy PersistenceUnitPostProcessor to scan for JPA entities (to be used in Spring versions before 3.1), support for native queries in @Query, and support for declarative locking.
  3. Jonathan Brisbin announced the 1.0.0.M2 release of Spring Data REST. Spring Data REST let's you easily export your Spring repository objects as RESTful endpoints. The new release includes support for invoking query methods of Repository interfaces, support for JSR 303 and Spring Validator validations, and improved support for Spring ApplicationEvents that are emitted before and after each save or delete, and annotation-based configuration.
  4. Oleg Zhurakousky has announced the first milestone release of Spring Integration 2.2. This release includes dependency upgrades, JPA support, and support for "publisher confirms and returns," which are newly supported in Spring AMQP.
  5. Gary Russell has announced version 1.1.0 of Spring AMQP that includes support for the RabbitMQ 2.8.x client, which in turn supports mirrored queues, broker failover, publisher confirms, returns, federated exchanges, and much more.
  6. Matt Vickery has a great post introducing the Spring Integration splitter-aggregator pattern.
  7. Willie Wheeler has a great post up on his custom configuration management database (a CMDB). The post details the project, and then talks about his use of Spring Data's repositories in rebuilding the backend for CMDB. Nice post, Willie!
  8. Doug Haber put together a wonderful post on handling paging using Spring Data and the REST support in Spring 3.1.
  9. Blogger panbhatt has a detailed post on using Spring MVC's REST support to solve a particular set of problems he was having.
  10. Blogger OBSERWATORZY described his particular thought process when trying to consume a RESTful service, and wondering if Spring provided an answer (of course it did!). Read on for his resolution.
  11. Vishal Biyani has put together a nice introduction to getting started with Spring Roo and Cloud Foundry.
  12. The RabbitMQ blog has an amazing article introducing queueing theory (with an introduction to throughput, latency and bandwidth.
  13. JAXEnter has a nice roundup of some of the news releases described in this very post, including the Spring AMQP and Spring Data JPA's GAs.

Get the Spring newsletter

Thank you!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all