The Spring Blog

Engineering
Releases
News and Events

Spring Framework 3.0 goes GA

After a long ride, it is my pleasure to announce that Spring 3.0 GA (.RELEASE) is finally available (download page)! All of SpringSource is celebrating - join the party :-)

For some very recent news, Spring 3.0 GA is compatible with Java EE 6 final in terms of runtime environments now (e.g. on GlassFish v3 as released last week) and supports JPA 2.0 final already (e.g. using EclipseLink 2.0). We also support the newly introduced @ManagedBean (JSR-250 v1.1) annotation for component scanning now, which nicely complements our @Inject (JSR-330) support for annotation-driven dependency injection.

Read more...

Spring 3.0.0 is Now Available

It's here just in time for the holidays! Arjen Poutsma has just announced that Spring 3.0.0 is now final and Juergen Hoeller has blogged about the features in the release.

Download | Documentation | Javadoc API | Change Log | JIRA

Congratulations to Juergen, Arjen and all the other SpringSource engineers that worked so hard on the release. Also a huge thank you to all of the dedicated community members that have given feedback and identified issues along the way. Please keep up the good work so that we can continue to make all the Spring projects better and better.

Read more...

VI Java API and CloudTools

Steve Jin, the creator of The Virtual Infrastructure Java API or vSphere API, recently contributed the work he had done for the VMworld 2009 keynote sessions to the CloudTools repository.  CloudTools is the open source project that provides the core infrastructure provisioning and application deployment functionalities to Cloud Foundry.  Steve’s code not only demonstrates how a Java application can be deployed through the Cloud Foundry user-interface to a vSphere infrastructure, it also shows how easily one can add an adaptor to CloudTools to enable Java application deployments to different cloud providers.  The following is a re-print of the blog entry Steve wrote to announce the contribution at his VMware Infrastructure (vSphere) Java API Blog.

Read more...

Logging Dependencies in Spring

This article deals with the choices that Spring makes and the options that developers have for logging in applications built with Spring. This is timed to coincide with the imminent release of Spring 3.0 not because we have changed anything much (although we are being more careful with dependency metadata now), but so that you can make an informed decision about how to implement and configure logging in your application. First we look briefly at what the mandatory dependencies are in Spring, and then go on to discuss in more detail how to set your application up to use some examples of common logging libraries. As an example I’ll show the dependency configuration using Maven Central style artifact naming conventions.

Read more...

Obtaining Spring 3 Artifacts with Maven

A recent commentor here ragged, “It’s only half of the world that’s using Maven”, when pointing out it is not obvious how to obtain Spring 3 artifacts with Maven. In this entry, I’ll show you how to do this and what the options are. This information will also be integrated into the reference documentation of the upcoming Spring 3 final release.

Maven Repositories where Spring Artifacts are Published

In general, Spring publishes its artifacts to two different places:


  1. Maven Central, which is the default repository Maven queries, and does not require any special configuration to use
  2. The Enterprise Bundle Repository (EBR), which is run by SpringSource and also hosts all the libraries that integrate with Spring
Read more...

Spring Framework 3.0 RC3 released

We decided to publish a further Spring 3.0 release candidate before going GA: Get it from the download page, do a round of thorough testing, and let us know how it works for you. Spring 3.0 is now waiting for your integration test feedback and will eventually go GA in mid December.

This release candidate comes with several enhancements: e.g. extended functionality in the new <mvc:*> namespace, and a further revision of startup/shutdown behavior (affecting message listeners and scheduled tasks). Feel free to give those features an early try! We are also keen to learn about upgrade experiences with existing Spring 2.5 applications since we expect many of your applications to selectively adopt 3.0 features… while keeping the majority of the code in its 2.5 shape for the time being.

Read more...

Spring 3.0.0 Release Candidate 3 Now Available

It's getting closer. Arjen Poutsma has just announced that Spring 3.0.0.RC3 is now available. This release candidate contains lots of fixes to issues raised by community members.



Download | Documentation | Javadoc API | Change Log | JIRA




Thank you to all of the dedicated community members that have given feedback and identified issues. Please keep up the good work so that we can get a high quality 3.0 GA release.

Read more...

Gemini project proposal at Eclipse.org

This week the Gemini project proposal was unveiled at Eclipse.org. Gemini is part of the Eclipse RT (runtime) project which is “designed to foster, promote and house runtime efforts in Eclipse, on the basis of the Equinox framework and OSGi” (Eclipse RT mission statement). Gemini itself is an umbrella project bringing together a collection of modules designed for enterprise application development. SpringSource and Oracle are the first two companies providing committers to the project, and several other companies have expressed interest in joining too.

Read more...

New Features in the Latest Cloud Foundry

We recently updated CloudFoundry.com. With this update, we introduced several exciting new features that pave the way for future development. I want to take this opportunity to describe and explain these features, as well as provide some background in how they came about. We are excited for you to try them out and provide us with feedback.

Cost Tracking



Screen shot 2009-11-18 at 12.59.52 PM



Availability Zone



Screen shot 2009-11-19 at 10.46.12 AM



Maintenance Page


Maintenance Page

Clone Deployment



Screen shot 2009-11-18 at 2.24.05 PM




  1. Upload a tested application to Cloud Foundry

  2. Enable the maintenance page on the current deployment

  3. Clone the deployment

  4. Run a SQL script to migrate the database schema

  5. Redeploy with the newer version of the application

  6. Reconfigure the elastic IP so that the new deployment is served from the static IP address

  7. Stop the old deployment

Read more...

Spring 3 Type Conversion and Validation

The Spring 3 final release is right around the corner, and it’s going to be a great release. In this blog entry, I will take you through some of Spring 3’s type conversion and validation enhancements. Whether you are developing a traditional web application, a desktop application, or a “next-generation” RIA, data binding, type conversion, and validation are important areas. As you’ll see in this entry, Spring 3 gives you a significant upgrade in each of these areas while preserving backwards compatibility with previous releases.

Read more...