Spring Framework 3.0 RC2 released

It is my pleasure to announce that we released the second Spring 3.0 release candidate today (download page). This release introduces key improvements over RC1 in several areas, in particular:
* Spring 3.0 RC2 is fully JSR-330 compliant and passes the final version of the TCK. JSR-330, a.k.a. "Dependency Injection for Java", basically standardizes an @Inject annotation with a qualifier model. The "javax.inject" annotations can now be used as alternative to Spring's own @Autowired and @Qualifier annotations. Spring's <context:annotation-config> element automatically activates JSR-330 processing as well (if the "javax.inject" API is present).
* A dedicated AnnotationConfigApplicationContext: making programmatic bootstrapping as convenient as possible, without any XML involved. Explicit registration of annotated classes is supported as well as component scanning in the classpath. This works fine not only with Spring's @Component model but also with @Configuration classes (a.k.a. "JavaConfig") and JSR-330 compliant classes.
* A new mvc configuration namespace: <mvc:annotation-driven/> activates rich processing of @Controller classes, including support for annotation-driven formatting and annotation-driven validation (if a JSR-303 "Bean Validation" provider such as Hibernate Validator 4.0 is present). The newly revised version of our formatting package also comes with support for the popular Joda Time library.
* Revised lifecycle management at runtime: Auto-starting message listener containers and schedulers will now kick off once context configuration has been fully completed. On context close, a specific shutdown order can be defined for 'phased' stopping of lifecycle components. A configurable LifecycleProcessor delegate provides corresponding customization hooks.
Finally, RC2 comes with many refinements in the details: e.g. revised URI encoding for proper treatment of special characters in any part of the request URL; refined scope handling in parent-child relationships for inheriting a bean's scope; support for load-time weaving on JBoss 5.x; etc.
Spring 3.0 GA is just around the corner now…
P.S.: Special thanks to all the people in the 'extended' Spring developer team – both within and outside of SpringSource – who made this release possible! You rock ![]()
Similar Posts
- Spring Framework 3.0 RC1 released
- Spring 2.5's Comprehensive Annotation Support
- Spring 2.5 RC1 is here – introducing new configuration approaches
- Spring Framework 3.0 M3 released
- Spring Framework 3.0 M2 released











Carlos Vara says:
Added on November 13th, 2009 at 8:17 pmGreat! I switched from RC1 in an small up a few hours ago and it's going all nice so far. I'll probably migrate to the new JSR-330 annotations soon and see how it goes.
Nice job!
donny says:
Added on November 14th, 2009 at 5:23 amThanks for the release. Where can i have the JSR-330 API? Any maven repo? Thx.
joe says:
Added on November 14th, 2009 at 6:36 amFor Spring 3.0 RC1 I was previously using the org.jboss.spring-int libraries to deploy on jboss 5.1 . I upgraded to RC2, and now none of it works. Any help would be appreciated. I really don't understand why everything has become such a huge mess, on jboss side.
Willie Wheeler says:
Added on November 15th, 2009 at 7:27 pmDonny, the JSR 330 API is available in the main Maven repo:
javax.inject
javax.inject
1
Willie Wheeler says:
Added on November 15th, 2009 at 7:28 pmDonny, you can get the JSR 330 API at the standard location using
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
Caleb Jones says:
Added on November 16th, 2009 at 5:10 pmIs there a target release date for Spring 3.0?
juziku says:
Added on November 17th, 2009 at 8:14 pmSpring Framework 3.0 RC2 ,Good!
名不见q传 says:
Added on November 17th, 2009 at 10:38 pm好
donny says:
Added on November 18th, 2009 at 7:26 amThanks Willie!!
bencmai says:
Added on November 20th, 2009 at 2:24 amwhere is spring3 rc2 maven repository url
it seem that http://repository.springsource.com/maven/bundles/milestone no longer get it
thx!!!