Blogs

SpringSource Blog

Spring Framework 3.1 M2 released

Juergen Hoeller

Spring Framework 3.1 M2 has been released this week, marking the end of the 3.1 milestone phase. We are moving on to the release candidate phase now, preparing for a feature-complete RC1 in July and a GA release in September.

3.1 M2 completes the work on several major themes started in 3.1 M1 back in February:

* We've stabilized our environment abstraction and the environment profile mechanism. If you haven't given it a try already, now is a great time to check it out!

* Our Java-based application configuration approach has changed from the @Feature approach in M1 to @Enable* annotations on regular @Configuration classes in M2.

* The cache abstraction has been revised for delivering a minimal cache interaction SPI. Our declarative caching solution (@Cacheable etc) keeps sitting on top of it.

Furthermore, we added significant new features to the overall configuration arrangement:

* Rich support for Servlet 3.0 based initializers: Our new WebApplicationInitializer approach allows for bootstrapping a Spring web application without web.xml!

* A new "packagesToScan" feature for JPA, building a default persistence unit from a scan of specified base packages – without persistence.xml or other metadata files.

* Our new RequestMappingHandlerAdapter in Spring @MVC: a customizable backend for MVC processing based on a flexible HandlerMethod abstraction.

Of course, there are plenty of other features to discover as well, for example:

* Our new "c:" namespace for conveniently specifying constructor arguments by name in a concise inline style.

* An overhaul of the TestContext framework with first-class testing support for @Configuration classes and environment profiles.

* REST support refinements with respect to URI templates, path variable handling and content type specification in Spring MVC.

We will be publishing several blog posts on specific feature areas in the course of the next couple of days, starting with comprehensive coverage of our configuration enhancements in M2. Stay tuned! And let us know how it works for you…

Similar Posts

Share this Post
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Slashdot
  • Technorati
  • Twitter
 

25 responses


  1. Hi
    Congratulations for the great release
    but, what about MVC conversation scope support? did it make it in this release or will it be postponed to 3.5?

    thanks
    Joe


  2. Adding regex quantifier support to @RequestMappings would help with MVC applications. A patch is attached to https://jira.springsource.org/browse/SPR-7787, it just needs applying.


  3. All great features, still moving away from XML to annotation world :)

    Parallel JUnit testing is also a big topic in most (well tested) projects.

    Would it be possible to include this issue for 3.1 instead of 3.2 ?
    https://jira.springsource.org/browse/SPR-5863


  4. Hi all
    The issue:
    Spring Framework SPR-6416

    Provide conversation management support

    https://jira.springsource.org/browse/SPR-6416

    does not seem to be included in the release, though its fix version assigned to 3.1

    What is the status of conversation managment support in 3.1
    I think it was clearly announced it will b included, anything new?
    I am really looking forward to this feature

    Thanks

    Joe


  5. Good catch! Conversation management is indeed an ongoing topic which has not been fully developed in 3.1 M2 yet. A final decision on conversation management is on the roadmap for 3.1 RC1, so there is still a chance for a basic conversation model to make it into the Spring Framework 3.1 generation.

    3.1 M2 actually ships an "org.springframework.conversation" package in the context module, containing our basic conversation management abstraction. We lack integration with MVC and others parts of the Spring universe still which is why we do not talk about it as an official part of Spring 3.1 yet.

    Juergen


  6. I rellay like the Caching abstracion. I can't wait to this to be released?

    What the release target date for this?

    Thanks
    Harshi


  7. At this point, we're aiming for a release candidate in July and for a GA release in September.

    Hope that helps,

    Juergen


  8. Good catch! Conversation management is indeed an ongoing topic which has not been fully developed in 3.1 M2 yet. A final decision on conversation management is on the roadmap for 3.1 RC1, so there is still a chance for a basic conversation model to make it into the Spring Framework 3.1 generation.Download TV shows

    3.1 M2 actually ships an "org.springframework.conversation" package in the context module, containing our basic conversation management abstraction. We lack integration with MVC and others parts of the Spring universe still which is why we do not talk about it as an official part of Spring 3.1 yet.

    Juergen


  9. All great features, still moving away from XML to annotation world :)

    Parallel JUnit Download TV shows online for freetesting is also a big topic in most (well tested) projects.

    Would it be possible to include this issue for 3.1 instead of 3.2 ?


  10. In fact I know these nothing nutrition!!!!! But still hope to understand, live forever! Will work!!!!!
    _____________________________________________________________________________________
    Download tv series


  11. I love cache abstraction, I can't wait to see this released? Whats final release date?


  12. I think this is a great post. One thing that I find the most helpful is number five. Sometimes when I write, I just let the flow of the words and information come out so much that I loose the purpose. It’s only after editing when I realize what I’ve done.


  13. have a look !


  14. have a look !


  15. Are will still on schedule for the final release in Sept?


  16. Same question about the release date of the GA.

    Is it always planned for Sept or should we wait end of 2011 ?

    Thanks !


  17. Our plan is to do a release candidate in mid September and to eventually go GA in October. The SpringOne conference in Chicago will serve as a release party :-)

    FYI, we extended the feature set for this release a bit: including Quartz 2.0 support, Hibernate 4.0 support, JBoss 7 support, and even a bit of Java 7 support – all of which will make it into Spring 3.1 RC1.

    Juergen


  18. Great news, thanks Juergen and all the team for your hard work !


  19. What about the 3.1 Backlog? Any release date has been set? Thanks!


  20. http://static.springsource.org/spring/docs/3.1.0.M1/spring-framework-reference/html/cache.html in this document the class name is error "org.springframework.cache.ehcache.EhcacheCacheManager".the right class name is "org.springframework.cache.ehcache.EhCacheCacheManager" 。 attention: EhcacheCacheManager -> EhCacheCacheManager


  21. yep this is totally agree feature set for this release a bit: including Quartz 2.0 support, Hibernate 4.0 support, JBoss 7 support, and even a bit of Java 7 support – all of which will make it into Spring 3.1 RC1.
    seo services pakistan
    funny pictures


  22. What is the release date for the RC and GA release of Spring 3.1.
    It is mentioned as mid Sep in one of the posts.


  23. Hi Juergen,
    We are really impressed by the caching abstraction features that are added to Spring 3.1 and would like to leverage it for out application running in production.

    Do you know when is the GA release of 3.1 is planned?

    -
    Sachin.


  24. We have a bit of a delay here since some features are still in the works, primarily in the MVC space. Also, we are waiting for the Hibernate 4.0 API to stabilize and only really got that in the recent RC3 there. In any case, we'll be feature complete by the end of September.

    As a consequence, Spring Framework 3.1 RC1 is scheduled for early October now, in time for the SpringOne conference – we do want to celebrate there after all :-) 3.1 GA will follow soon after, depending on release candidate feedback… looks like November timeframe at this point.

    Juergen


  25. I think declarative caching would be something I would like to
    explore more and how it can resolve purging of application
    specific cached entities depending on some application requirements.

    Thanks for these updates.
    -Ishtek

Leave a Reply