Dear Spring community,
We are pleased to announce that Spring 2.0 RC1 has been released. Download | Documentation | Changelog
This is the first release candidate for Spring 2.0 after five milestone releases over the last six months. This stable release is waiting for broad user feedback on the way towards 2.0 final, targeted for early July.
The major new themes of Spring 2.0 are:
- Simplified Configuration - you will find you write much less code overall to configuration your applications. The code you do write is high-level and domain-specific, benefiting from smart defaults as well as rich validation and tool support.
- Powerful AOP Unification - you may apply aspects that weave custom behavior before, after, and around your objects concisely with AspectJ while still benefiting from the simplicity of the Spring AOP runtime.
- JSR 220 Java Persistence Archtecture (JPA) - to provide you choice in persistence provider implementation. Spring is the first to support JPA in both JEE and JSE environments with full portability between the two.
- Asynchronous JMS Messaging - Message-Driven POJOs bring you lightweight asynchronous components for JSE environments with the choice of JMS provider.
- JSR-168 Portlets - Spring Portlet MVC delivers a framework for developing JSR 168 portlets which includes integration with Spring Web Flow for orchestrating user interactions.
It is important to emphasize that Spring 2.0 provides backwards compatability with the Spring 1.x series. Compatability is critically important to our user base and we are committed to providing it.
Further major new features for each of these areas include...
Configuration Simplification- Bean definitions based on XML schema, with out-of-the-box XML namespaces for simplifying common configuration tasks
- Support for extended bean scopes in application contexts, with web request and session scopes as main targets
- Bean definition enhancements: lazy loading of bean classes, collection merging, and intelligent error messages
AOP- Simplified AOP configuration based on XML schema namespaces
- Support for AspectJ pointcut expression language and @AspectJ-style aspects
- Support for dependency injection on any object, including fine grained domain objects (based on AspectJ)
Persistence and JPA- Enhanced JDBC support: named SQL parameters, generics-based SimpleJdbcTemplate
- Explicit support for Hibernate 3.1 and 3.2 (while remaining compatible with Hibernate 3.0)
- Support for the Java Persistence API (JPA), including the full container contract with class instrumentation
Scheduling and Messaging- TaskExecutor abstraction for submitting asynchronous work
- Support for various thread pools, such as a Java 5 ThreadPoolExecutor and a CommonJ WorkManager
- Support for asynchronous JMS ("Message-Driven POJOs") based on message listener containers
Web Application Development- Conventions-based web MVC: controller mappings, model attribute names
- JSP form tag library for use with Spring Web MVC and Spring Web Flow
- Full support for Portlet environments, including Portlet-style MVC based on a DispatcherPortlet
... and many, many other refinements in the details.
To see many of these features in action, review the JPetstore reference application included in the release distribution within the samples/jpetstore directory. See the What's New in 2.0? section of the reference documentation for additional detail.
We will be working with the Maven2 community to have 2.0 RC1 uploaded to the Maven repository in the coming days.
Thank you Spring community for all of the feedback leading up to this release. We look forward to your feedback towards the big 2.0 GA launch date!
Enjoy,
Juergen Hoeller
Lead, Spring 2.0 Product Development
Comments
trackback, and non-dependency dis missing /docs
Not sure if this is an oversight, but the download of the framework without dependencies does not include /doc.
Also, trackback: First Spring 2.0 Release Candidate is Out.
DDD Forum topic
After reading Domain Driven Design by Erik Evans my perception on development took a wild turn. Seeing Ramnivas Laddad and Steven Devijver at work at SpringOne showing off the Spring 2.0 DDD roadmap really gave me that nice feeling you have when you know it's all going te be allright :-)
Because of the nature of DDD there will be some mind twirling for some of us. So, perhaps the Spring Team should open a seperate forum (aside the architecture one) where we can discuss our newly acquired knowledge, share visions on how web and persitence development can be fitted into the DDD concept.
Message for Steven Devijver: At SpringOne you were talking about a demo 'Tennis match management' application which was build around the DDD concept of Spring 2.0. Is it possible too already download the source code of this so I can already start my own testing (read: just having plain old geek fun) or do we need to wait until the first realse in a couple of months?
I'm already excited about the thought of what Spring 3.0 will brings us ;-)