Announcement Announcement Module
Collapse
No announcement yet.
Spring Framework 2.0 RC1 Released Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Framework 2.0 RC1 Released

    (2006/6/20) - We're pleased to announce that Spring Framework 2.0 RC1 has been released. Here's Juergen's original announcement:

    -----

    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:
    1. 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.
    2. 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.
    3. 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.
    4. Asynchronous JMS Messaging - Message-Driven POJOs bring you lightweight asynchronous components for JSE environments with the choice of JMS provider.
    5. 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
    Last edited by Colin Sampaleanu; Jul 6th, 2006, 06:16 PM.

  • #2
    "Convention over configuration" sample missing

    Hi Spring Team,

    First and foremost, congratulations on reaching a 2.0 release candidate and thanks for the continued hard work!

    Originally posted by Colin Sampaleanu
    Web Application Development[LIST][*]Conventions-based web MVC: controller mappings, model attribute names
    From the reference documentation, section 14.11 "Convention over configuration", it is mentioned that:

    The application can be found in the 'samples/showcases/mvc-convention' directory.
    This, however, does not appear to be the case. Perhaps someone overlooked this in the build process, but the "showcases" directory does not exist in spring-framework-2.0-rc1-with-dependencies.zip at sourceforge. I hope this can be added to the next release, as I'd like to have a look at it. In the meantime, I'll ty to see if I can find the sample in CVS.

    regards,

    Sam

    Comment


    • #3
      In above announcement, "lazy loading of bean classes" is mentioned under Configuration Simplification/Bean definition enhancements. Can somebody explain that a little further (maybe with some simple example) or point to appropriate documentation section? Thanks.

      Regards,
      Damir Murat

      Comment


      • #4
        Originally posted by sbrannen
        From the reference documentation, section 14.11 "Convention over configuration", it is mentioned that:

        This, however, does not appear to be the case. Perhaps someone overlooked this in the build process, but the "showcases" directory does not exist in spring-framework-2.0-rc1-with-dependencies.zip at sourceforge.
        Whoops, this was an oversight on my part. I will address this in time for the Spring 2.0 RC2 release (next week).

        Cheers
        Rick

        Comment


        • #5
          Hi Damir

          Originally posted by dmurat
          In above announcement, "lazy loading of bean classes" is mentioned under Configuration Simplification/Bean definition enhancements. Can somebody explain that a little further (maybe with some simple example) or point to appropriate documentation section?
          I can't point you to the documentation section because there isn't one yet.

          The "lazy loading of bean classes" is exactly that. Spring no longer attempts to eagerly load bean classes prior to actually instantiating beans off the back of bean definitions. The previous behaviour, where the classes of beans that were marked as being lazily-initialized were actually loaded (the classes that is), was at odds with the semantics of lazy-initialization as it was originally intended. To wit, why eagerly load the class of a bean that is marked as lazily initialized and that may not ever actually be instantiated?

          The new semantics mean that bean classes are only ever loaded just prior to a bean actually being instantiated. It is a subtle yet important change because it can cause some previously working configuration to break. The fix (such as it is) is easy (in the case of XML bean definitions add a lazy-init="false" attribute to certain bean types such as BeanFactoryPostProcessor and PropertyPlaceholderConfigurer), but can be somewhat annoying to track down.

          I will address the aforelinked documentation issue in time for the Spring 2.0 final release.

          Hope that clears the issue up in the interim, cheers
          Rick

          Comment


          • #6
            Hi there,

            First of all, congratulations for this big achievement. I can't wait to start incorporating this in my current project.

            I have a specific question about Maven 2:
            Originally posted by Colin Sampaleanu
            We will be working with the Maven2 community to have 2.0 RC1 uploaded to the Maven repository in the coming days.
            I am still missing the pom.xml in the ibiblio repository (for RC1). Is there any repository (mirror) where this is already implemented? Is there any JIRA issue where we can follow the progress of this task?

            Thanks a lot!

            Nicolas

            Comment


            • #7
              Originally posted by NicolasPeeters
              Hi there,

              First of all, congratulations for this big achievement. I can't wait to start incorporating this in my current project.

              I have a specific question about Maven 2:


              I am still missing the pom.xml in the ibiblio repository (for RC1). Is there any repository (mirror) where this is already implemented? Is there any JIRA issue where we can follow the progress of this task?

              Thanks a lot!

              Nicolas
              Here is the jira for it.

              Cheers

              Comment


              • #8
                I can't wait to work with Spring 2.0 final release! Great work guys!

                Comment

                Working...
                X