Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Spring Framework 2.5 Released

  1. #1
    Join Date
    Jan 2006
    Location
    Southampton, UK
    Posts
    117

    Default Spring Framework 2.5 Released

    (2007/11/19) - We're pleased to announce that Spring Framework 2.5 has been released. Here is Juergen's original announcement:

    --

    Dear Spring Community,

    We are pleased to announce that the Spring Framework 2.5 final release is now available.

    Spring 2.5 enhances Spring 2.0 with many exciting new features, including:
    • Full Java 6 and Java EE 5 support (JDBC 4.0, JTA 1.1, JavaMail 1.4, JAX-WS 2.0)
    • Full-featured annotation-driven dependency injection, including support for 'qualifiers'
    • Support for auto-detecting application components in the classpath and auto-configuring them as Spring managed objects
    • A new bean name pointcut element in AspectJ pointcut expressions
    • Built-in support for AspectJ load-time weaving based on the LoadTimeWeaver abstraction
    • New XML configuration namespaces "context" and "jms", for maximum convenience
    • A completely revised integration test framework, with first-class support for JUnit 4 and TestNG
    • A new annotation-based controller model for Spring MVC supporting Servlet and Portlet environments
    • Extended SimpleJdbcTemplate functionality, including support for named SQL parameters
    • Officially certified WebSphere support
    • The packaging of Spring Framework jars as OSGi-compliant bundles out of the box
    • The ability to deploy a Spring ApplicationContext as a JCA RAR file, for headless application modules
    • JCA 1.5 message endpoint management, for Spring-managed JMS and CCI message listeners
    Check out the series What's New in Spring 2.5? for a walkthrough of the new Spring 2.5 features, including information on how to deploy the Spring sample applications that demonstrate them.

    We recommend upgrading to Spring 2.5 from all previous Spring 2.0.x versions in order to benefit from the new features as well as the significant performance enhancements that Spring 2.5 has to offer. Spring 2.5 is designed as a drop-in replacement for Spring 2.0, except for the slightly restructured jar file contents (please see the readme file in the distribution for more information on this).

    Please note that Spring 2.5 is still compatible with JDK 1.4.2+ and J2EE 1.3+. Java 1.4 users, for example on WebLogic 8.1 or WebSphere 5.1/6.0, are very welcome to upgrade to Spring 2.5 as well. We recommend putting the backport-util-concurrent jar on the classpath when running on Java 1.4, which allows Spring and your applications to benefit from significant concurrency enhancements.

    Enjoy Spring 2.5,

    Juergen Hoeller
    Lead, Spring Framework Development
    Last edited by Colin Sampaleanu; Mar 3rd, 2008 at 08:46 AM.

  2. #2
    Join Date
    Feb 2006
    Posts
    15

    Default Error in the maven repositories

    Hi there!

    Congratulations for this release!

    However I have a little problem: I'm a Maven user, so to take advantage of this new release I have updated my dependencies in my POM file. It turns out that the spring-aop artifact has accidentally been put at /org/springframework/spring/2.5/ (cf. http://repo1.maven.org/maven2/org/sp...rk/spring/2.5/ for instance).

    Consequently:
    - the spring-aop artifact is misplaced
    - the spring artifact (the one I was looking for) is absent

    Could you fix this problem?

    Thanks!

  3. #3
    Join Date
    Jan 2006
    Location
    Southampton, UK
    Posts
    117

    Default Fixed

    Quote Originally Posted by Tama-Chan View Post
    Could you fix this problem?
    I've fixed the release. The fix may take up to 6 hours to propagate.
    Ben Hale
    tc Server Team Core Developer
    http://www.springsource.com/products/tcserver

  4. #4

    Default

    Phew! Thanks Ben. I was worried this was part of the osgi bundle changes and I was going to have to add in each one individually.

  5. #5
    Join Date
    Oct 2004
    Location
    Munich, Germany
    Posts
    36

  6. #6
    Join Date
    Jan 2006
    Location
    Southampton, UK
    Posts
    117

    Default

    Quote Originally Posted by pledge View Post
    ... and I was going to have to add in each one individually.
    In general, this is what we recommend to our users. By using the smaller jars you get much finer grained control about what's going on your classpath. With 2.5 we've vastly reduced the number of jars that you need to choose from as well. And since you're using Maven, a lot of the heavy lifting such as determining which dependencies are needed has been taken care of for you. If you simply depend on spring.jar, all of the dependencies are optional and you actually have to do a bit more work.
    Ben Hale
    tc Server Team Core Developer
    http://www.springsource.com/products/tcserver

  7. #7

    Default

    Of course that is a good point. However when you are using the majority of Spring, along with using newer/differing versions of dependencies then your POM can grow rapdily. I'm just trying to justify my laziness

  8. #8
    Join Date
    Jun 2007
    Posts
    3

    Question

    Quote Originally Posted by Ben Hale View Post
    I've fixed the release. The fix may take up to 6 hours to propagate.
    It's greate but the maven's repo still can't work well. The .jar file is missing?

  9. #9
    Join Date
    Nov 2007
    Posts
    1

    Unhappy JAR is missing from Maven2 repository

    Yeah, I'm having the same issue. Everything in http://repo1.maven.org/maven2/org/sp...rk/spring/2.5/ is there except the actual JAR file itself. This is messing up my builds

  10. #10

    Exclamation

    Quote Originally Posted by Ben Hale View Post
    I've fixed the release. The fix may take up to 6 hours to propagate.
    There's still a problem on http://repo1.maven.org/maven2/org/sp...rk/spring/2.5/ - the sources jar is still the Spring-AOP source!
    I wouldn't have bothered msging about this, but the other jar is now fixed so it appears to have 'propagated'. Please let us know if the sources jar is also on it's way.

    FYI I also got hash failures on the downloads.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •