Second milestone of spring-test-mvc released

Releases | Rossen Stoyanchev | September 26, 2012 | ...

A second milestone of the Spring MVC Test project is now available through the SpringSource Artifactory repository

There is much that's new. On the server side we've added support for servlet filters, basic support for Spring Security, the ability to define default request properties and expectations to re-use across every performed request, and much more. On the client side we've greatly expanded the options for request matching and response creation.

For further details and comments read this blog post.

What's New in Spring Integration 2.2.RC1 (Part 1 - MongoDb)

Engineering | Oleg Zhurakousky | September 24, 2012 | ...


Spring Integration 2.2.RC1 is out and we will be coming out with a set of blogs in the coming days discussing some of its new features. In this first blog we'll talk about MongoDb Inbound and Outbound Channel Adapters. Full set of discussed samples is available here

MongoDb Outbound Channel Adapter

MongoDb Outbound Channel Adapter allows you to write the Message payload to a MongoDb document store.

You can see the simplest configuration of the MongoDb Channel Adapter below:

<int-mongodb:outbound-channel-adapter id="deafultAdapter"/>

It will be initialized with the default instance of the MongoDbFactory (the default bean name is 'mongoDbFactory') otherwise you can provide its reference via mongodb-factory attribute.

Now you can run the MongoDbOutboundAdapterDemo. After running it open terminal window and start MongoDb CLI

$> mongo

Once in MongoDb CLI type a query:


And you should see the 3 document entries we just created:

{ "_id" : ObjectId("505ff83d03649ed6881d…

Spring Integration Release Candidate 1 is Released!

Releases | Gary Russell | September 21, 2012 | ...

Spring Integration 2.2.0.RC1 - the release candidate for the 2.2 stream, including a number of important features and improvements, is now available. Barring major issues, we expect to make the final release shortly, so users are encouraged to try out the new features, some of which are described here. Over the next week or so, we intend to release a number of blog posts highlighting some of these features and others.

More information is available on the project's home page.

Spring Shell 1.0.0.RC1 Released

Releases | Costin Leau | September 20, 2012 | ...

Dear Spring Community,

I am pleased to announce the first release candidate for Spring Shell project! Spring Shell is an interactive shell that can be easily extended with commands using a Spring based programming model, extracted from the Spring Roo project.

Downloads | JavaDocs | Reference Documentation | Changelog

This release contains various fixes related to JLine/Jansi. See the changelog for detailed info.

We look forward to your feedback on the forum or in the issue tracker.

This Week in Spring - 18th September, 2012

Engineering | Josh Long | September 19, 2012 | ...

Welcome to another installation of This Week in Spring! This week I'm in Bloomington-Normal, Illinois talking to StateFarm about Spring Projects: MVC, REST, Mobile, and Android. The developers here are code ninjas. Listening to their internal talks over the course of the day has been eye opening, to say the least. Don't miss the Spring, Groovy and Grails event of the year in Washington, DC: SpringOne2GX. If you haven't already registered, now's the time! Oh, and don't forget, if you're in the United States, today is national cheeseburger day! So... bon appetit!

    <LI> Chris Beams has announced the availability of <a href ="">Spring Framework 3.2 M2</a>, which features many new features including improved <CODE>TestContext</CODE> support, Spring MVC improvements, asynchronous <CODE>@Controllers</CODE>, and lots of bug-fixes and improvements.  </LI>
    <LI> This month's SpringSource webinar is coming fast - <a href =""> Spring Security with Rob Winch</a>. Be sure to register now! </LI>
    <li> Martin Lippert has announced the availability  of the <a href="…

Spring Data Neo4j 2.1.0 Release Candidate 4 released

Releases | Michael Hunger | September 18, 2012 | ...

Shortly before the Spring Data GA release train arrives, we would like to gather some feedback on fixes and updates in Spring Data - Neo4j. That's why we released an Release Candidate 4.

Here is a quick overview of the changes that made it into this release candidate, much longer than we intended to, but still very useful.

Changes in version 2.1.0.RC4 (2012-08-19)

  • DATAGRAPH-296 Updates to stable versions of Neo4j 1.8.RC1, spatial, cypher-dsl and java-rest-binding, adopted to API changes
  • DATAGRAPH-285 adding application events for save and delete
  • DATAGRAPH-263, DATAGRAPH-212, DATAGRAPH-272, DATAGRAPH-147 refactored derived query creation, added support for multiple indexed fields and all query keywords
  • DATAGRAPH-294 derived finder methods for numerically indexed values
  • DATAGRAPH-293 find objects by graph-id
  • DATAGRAPH-275 non graceful fallback on empty graph for TypeRepresentationStrategyFactory
  • DATAGRAPH-246 allowing entity as parameter to derived finders
  • DATAGRAPH-281 Added support for Enums and Dates as parameters to Cypher

Just point your dependency version to 2.1.0.RC4. For now the online resources have not been updated due to manual effort and time constraints. Those will be available for the 2.1.0.RELEASE.

Spring Tool Suite and Groovy/Grails Tool Suite 3.1.0.M1 released

Releases | Martin Lippert | September 14, 2012 | ...

Dear Spring Community,

I am happy to announce the first milestone release 3.1.0.M1 of the Spring Tool Suite (STS) and the Groovy/Grails Tool Suite (GGTS).

Highlights from this milestone include:

  • We now provide distributions based on Eclipse 3.8 and Eclipse 4.2
  • Mylyn updated to 3.8.1
  • Mac apps now signed for Gatekeeper in OSX 10.8 Mountain Lion
  • Maven support for Grails projects

Some of our users reported general performance issues with the new Eclipse Juno 4.2 platform that STS 3.0.0 ships with. Most of these issues seem to be related to the underlying UI platform and its usage from various plugins and extensions. Since our goal is to provide the best possible user experience, we decided to provide two separate distributions for STS 3.1.0.M1: one that is built on top of…

Spring Data REST 1.0.0.RC3 Released

Releases | Jon Brisbin | September 14, 2012 | ...

I'm pleased to announce the release of Spring Data REST 1.0.0.RC3! This release includes a significant number of bug fixes, changes to the structure of the JSON representation, better integration of user-defined Jackson Modules that are bootstrapped into the internal ObjectMapper, as well integration with Spring HATEOAS. Also included in this release is support for extending the resource representation (e.g. to add links to other, related resources) using the Spring HATEOAS ResourceProcessor abstraction.

New functionality includes:

  • JSON output looks different in an effort to make property names consistent and structure clearer.
  • Pulls in any Jackson Module beans discovered and integrates user configuration with internal ObjectMapper.
  • Integration with Spring HATEOAS - Customize the outgoing JSON by adding or removing links or otherwise altering the resource.

Starter Web Application | Wiki | Release Notes

To learn more about the project, visit the Spring Data REST homepage, or visit the Github repository

Spring Framework 3.2 M2 Released

Releases | Chris Beams | September 12, 2012 | ...

The second milestone release toward Spring Framework 3.2 is now available from the SpringSource repository. If you're not already familiar, see our quick tutorial on resolving these artifacts via Maven. The complete distribution zip is available as usual from the SpringSource community download site.

Be sure to catch up on the changes in 3.2 M1 if you haven't already.

Highlights from 3.2 M2 include:

A major area of focus for 3.2 is ensuring that Spring Framework runs flawlessly on JDK7. M2 artifacts have been built, tested and published against JDK7 and we continue to test JDK6 compatibility in nightly builds as well. We encourage all Spring users on JDK7 to give M2 a spin in your development and test environments and provide as much feedback as possible prior to 3.2 GA. Thanks!

Users of @Configuration classes and Spring's support for subclass proxies (proxy-target-class=true), please take note: it is now no longer necessary to add CGLIB as an explicit dependency to work with these features. As of 3.2 M2, we have upgraded to the new CGLIB 3.0. We repackage all net.sf.cglib classes to org.springframework.cglib and inline them directly within the spring-core JAR. This means that all @Configuration and subclass proxying functionality works out of the box in M2, and means no potential for CGLIB conflicts with other projects. Likewise, we have upgraded to the new ASM 4.0, which we continue to repackage and inline as we have done for quite some time now. Note however that we've eliminated the dedicated spring-asm jar in M2 in favor of including org.springframework.asm classes directly in spring-core. Both of these upgrades are good news for JDK7 users writing Spring components in dynamic JVM languages, as these new versions of CGLIB and ASM properly handle the new invokedynamic bytecode instruction introduced in JDK7.


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

This Week in Spring - September 11, 2012

Engineering | Josh Long | September 11, 2012 | ...

Welcome to another installation of This Week in Spring! I'm off to Oslo, Norway for the JavaZone conference to talk to people about using Spring Integration and Spring Batch on top of Cloud Foundry. Again, this is a natural use case: Cloud Foundry makes it easy to scale to handle the largest workloads, and Spring Integration and Spring Batch, presumably sitting on top of RabbitMQ, take care of the plumbing and do the heavy lifting of workload distribution across the cluster.

 <P>Wrapping up from last week's Cloud Foundry   Open Tour - India, touring <a href="http://opentour.cloudfoundry…

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