BT

InfoQ Homepage News Article: Spring 2.0: What's New and Why it Matters

Article: Spring 2.0: What's New and Why it Matters

Bookmarks
Spring co-founder Rod Johnson provides the definitive article on the motivations behind and uses of the new features in Spring 2.0. This first article covers the Spring core container, XML configuration extensions, AOP enhancements and Java 5-specific features.

Read Spring 2.0 What's New and Why it Matters

What's the big picture in Spring 2.0? Rod provides a high level, after which zooming in on how to actually get started with each:

  • Configuration extensions: In Spring 2.0, Spring supports extensible XML configuration, enabling the development of custom elements that offer a new level of abstraction for generating Spring bean definitions. The XML extension mechanism also allows the provision of new tags to simplify many common tasks.
  • Major enhancements in the AOP framework, which make it both more powerful and easier to use.
  • Enhanced support for Java 5.
  • The ability for Spring beans to be implemented in dynamic languages, such as Groovy, JRuby and Beanshell, while retaining all the services of the Spring component model, such as Dependency Injection, out of the box declarative services and AOP.
  • Many new features including a Portlet MVC framework, "message driven POJOs," integration with new APIs including the Java Persistence API (JPA) and an asynchronous task execution framework.
Spring is a featured topic on InfoQ for the next couple of months, you can see all of our in-depth Spring content at http://infoq.com/spring. Rod Johnson is also presenting on Spring 2 at QCon London (March 12-16).

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Your message is awaiting moderation. Thank you for participating in the discussion.

    Many products build on Spring, and their configuration can become simpler using namespaces. A good example is Acegi Security for Spring (to be rebranded Spring Security in early 2007)


    Where can I find out more information on this? Are the Acegi package names going to change again and will they be included in spring.jar?

  • Excellent article, Rod!

    by David Main /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I just wanted to say thanks for putting this together, Rod. Besides providing ever more details on the uses and value of Spring, it is well written... which seems to characterize much of the documentation associated with Spring. And that makes Spring all the more accessible.

  • 2nd article

    by Martin Gilday /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    A very useful article. Even though we have been using Spring 2 for some time now this highlighted some areas we had missed.
    Will the 2nd article also be posted on InfoQ?

  • nicest article but...

    by Joshua H. Song /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    your story about spring 2.0 reminds me of this short story..

    A: do you know how to store an elephant in your fridge?
    B: i don't know
    A: simple. first, open the fridge's door, second, push the elephant into the fridge, third, close the door.
    B: WOW.

    is spring 2.0 really worthy to be versioned as 2.0?
    oohhhh i'm getting fuzzy in this world of two dot o.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.