Groovy 1.7 released

Engineering | Guillaume Laforge | December 22, 2009 | ...

The Groovy development team and SpringSource are very pleased to announce the final release of Groovy 1.7, the most popular and successful dynamic language for the JVM! After two betas and two release candidates, we're are happy to deliver this new and very important milestone to our ever-growing user base.

Over the years, the Groovy project has managed to grow a community, but not only that, a very rich and active ecosystem of Groovy-related projects: the Grails web stack, the Griffon swing application framework, the Gant and Gradle build solutions, the Gaelyk lightweight toolkit for Google App Engine, the Gpars parallel system, the Spock testing frameworks and the GMock mocking library, the CodeNarc and GMetrics quality tools, and many more! With all…

Configuration Simplifications in Spring 3.0

Engineering | Chris Beams | December 22, 2009 | ...

Second in a series of posts on "Spring 3 Simplifications" started yesterday by Keith, I'd like to provide a very brief and hands-on introduction to Spring's new @Configuration annotation and related support.

As those that followed the Spring JavaConfig project will know, a @Configuration-annotated class serves much the same role as a Spring XML file. It provides a code-centric way of declaring Spring bean definitions using nothing more than methods and annotations. You might call it Plain Old Configuration* :) This means that for simple situations, no XML will be required!

Let's get started. To demonstrate @Configuration functionality, I've created a very simple project in the new spring-samples SVN repository. You may want to sync up and…

MVC Simplifications in Spring 3.0

Engineering | Keith Donald | December 21, 2009 | ...

As Juergen and Arjen have mentioned, Java developers everywhere have a smooth upgrade with Spring 3.0. Now that Spring 3 is out, I'd like to take you through some of the new MVC features you may not know about. I hope you find these features useful and can start putting them to work in your web applications immediately.

This is also the start of a series on "Spring 3 Simplifications", so expect more posts like these in the coming days and weeks.

Configuration Simplification

Spring 3 introduces a mvc namespace that greatly simplifies Spring MVC setup. Along with other enhancements, it has never been easier to get Spring web applications up and running. This can be illustrated by the mvc-basic

dm Server 2.0 RC1 released

Engineering | Andy Wilkinson | December 18, 2009 | ...

Hot on the heels of Spring 3.0 and Spring DM 1.2.1, I'm delighted to announce that dm Server 2.0 RC1 is now available. RC1 is feature complete and, barring any major problems being found, will be the final 2.0 release early in the new year. So, please download the RC and give us your feedback: it's your last chance to shape the 2.0 release!

If you're interested in what's changed since M6, please take a look at the release notes.

Thank you for all of the feedback that we've had during the development of 2.0. Please keep it coming as we move towards the final release.

Feature overview

There's a lot of great…

Spring Framework 3.0 goes GA

Engineering | Juergen Hoeller | December 16, 2009 | ...

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.

VI Java API and CloudTools

Engineering | Charles Lee | December 08, 2009 | ...

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…

Logging Dependencies in Spring

Engineering | Dave Syer | December 04, 2009 | ...

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…

Obtaining Spring 3 Artifacts with Maven

Engineering | Keith Donald | December 02, 2009 | ...

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

So the first thing you need to decide when obtaining Spring with Maven is which place you'll get it from. In general, if you care about OSGi, use the EBR, since it houses OSGi compatible artifacts for all of Spring's dependencies, such as Hibernate and Freemarker. If OSGi does not matter to you, either place works, though there are some pros and cons between them. In general, pick one place or the other for your project; do not mix them. This is particularly important since EBR artifacts use a different naming convention than Maven Central…

Spring Framework 3.0 RC3 released

Engineering | Juergen Hoeller | December 01, 2009 | ...

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…

Gemini project proposal at Eclipse.org

Engineering | Adrian Colyer | November 24, 2009 | ...

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.

The initial projects being contributed to…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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