Book | JIRA | Confluence | Forum

20070525 Friday May 25, 2007

Spring Live - The Final Update Category: Spring Live

After 3 years of working on Spring Live, the journey is finally over. You can read more about it at in this press release and on Matt Filios' blog.

I started this blog on February 17, 2004 and started writing Spring Live a couple months later. In an interview on TSS, I admitted I didn't know anything about Spring when I started writing the book. Based on the book's Amazon ranking, that didn't prevent it from being a good book. It turned into a result of my thoughts and experiences while learning the Spring Framework from 2004 to 2006. During that time, I made more than 10 updates. The final update (available since the beginning of May) is from edits I did in July of last year. The tech and copy editing process carried into the fall, and with the help of Scott Nicholls and Sarah Hogan, I think you'll find this is the best version of Spring Live yet. I wish I could say that this book has been updated for Spring 2.0, but it hasn't. The last 3 chapters in the book use Spring 2.0 in its examples, but that's about it.

While I was writing this book, a lot of things happened to me. I traveled to Norway, became a father for the second time, and traveled to many conferences to talk about Spring. The whole experience was quite a ride. Thanks to SourceBeat for the opportunity to write this book and to the creators and maintainers of the Spring Framework for making it all possible. Last, but certainly not least, thanks to all the readers to buying this book, submitting bugs and making it what it is today.

Unlike traditional books, Spring Live has changed, grown, and become better over the past two years. Although the 1.0 version was fun to write, the updates to this book were more exciting. Together, we acted as a team to produce an in-depth, pragmatic, and interesting book about the Spring Framework. As you provided feedback, I improved existing content in the book and added new content that you said interested you. This book is yours as much as it is mine.

To download this latest release, please visit You can read the release notes to see what's changed since the last release.

This blog will continue to exist, but is unlikely to be updated. If you post comments here, I'll try to answer them, but you might have better luck posting to the Spring Live Forum. You can check out my other blog for updates on my life, the technologies I use, and other fun stuff. Thanks for everything folks, it really was a great experience! (2007-05-25 15:03:07.0) Permalink Comments [0]

20070405 Thursday April 05, 2007

Spring and OSGi Category: Spring Live

Costin Leau has a nice write-up on the new Spring-OSGi release: So what's the deal with Spring-OSGi? In this blog entry, Costin does a great job of explaining how to export and consume OSGi Services with Spring, as well as how to easily test them with AbstractOsgiTests and friends. Good stuff Costin - thanks for the easy-to-follow examples. (2007-04-05 13:42:52.0) Permalink Comments [0]

20061221 Thursday December 21, 2006

Dependency Injection Demystified Category: Spring Live

James Shore has a short-n-sweet definition of dependency injection.

Dependency injection means giving an object its instance variables. Really. That's it.

If you're not using dependency injection in your projects, it's a good read. As far as using a framework like Spring, that's secondary to the whole concept of DI. (2006-12-21 13:10:02.0) Permalink Comments [2]

20061211 Monday December 11, 2006

The Spring Experience 2006 - Day 3 Category: Spring Live

At the final day of The Spring Experience, I learned how to build web applications using Hijax (progressive enhancement with Ajax) and ROO (Real Oriented Objects). Both were excellent presentations - you can read my summaries by clicking on the links below:

  • Building Modern Web Applications with Mike Stenhouse
  • Hop into Real Object Oriented (ROO) with Ben Alex

Ben Alex's ROO implementation has some resemblence to the XT Modeling framework from the Spring Modules project. However, I think ROO relies on a lot more code-generation than XT does. Maybe they should combine forces? (2006-12-11 09:43:05.0) Permalink Comments [0]

20061209 Saturday December 09, 2006

The Spring Experience - Day 2 Category: Spring Live

Today was another great day at The Spring Experience. I attended sessions on Grails, OSGi and the future of Spring. Please see the links below for detailed summaries of these sessions.

  • The Holy Grails of Web Frameworks with Guillaume LaForge
  • Spring-OSGI with Adrian Colyer
  • Keynote: The Bigger Picture with Adrian Colyer

In addition to these talks, I did my own on What's New in AppFuse 2.0 (PDF). Since most folks that attended this talk were familiar with AppFuse, I ditched my presentation and did live coding the whole time. Some folks were hesitant about the Maven 2 transition, but I fed them free beer and they seemed to be happy. The good news for those that prefer the current Ant approach is we do plan on continuing to support version 1.9.x, but it's unlikely we'll upgrade it for JDK 5.

One funny part of my presentation is when I tried to show them how well NetBeans 5.5 works with Maven (using the Mevenide2 plugin). After loading the project and pressing "play" to launch the app in Tomcat, it took over 5 minutes to build, deploy and load. Maybe NetBeans + Mevenide isn't a good solution for AppFuse 2.0 users after all. ;-) (2006-12-09 10:00:00.0) Permalink Comments [2]

20061208 Friday December 08, 2006

The Spring Experience 2006 - Day 1 Category: Spring Live

I'm attending The Spring Experience in Hollywood, Florida this week. Here's a list of blog posts from the sessions I attended today.

  • Domain Driven Design with Eric Evans
  • Rapid Web Application Development with Rob Harrop
  • Using Dynamic Languages with Spring with Rod Johnson and Guillaume LaForge
  • Designing Stateful Web Application Control Flow with Erwin Vervaet

The last post also has an entry on the next Spring Live update:

I recently updated Spring Live's Chapter 13 for SWF 1.0, but Expert Spring MVC and Web Flow (by Seth Ladd, Darren Davison, Steven Devijver and Colin Yates) is much better than my 10-page example. My updated chapter is currently in tech edit, so you may have to wait another couple weeks before it's in a released version.

(2006-12-08 23:44:22.0) Permalink Comments [0]

20061128 Tuesday November 28, 2006

Cool features in Spring 2.0: The "p" namespace and JavaConfig Category: Spring Live

Rod Johnson has blogged twice on the Interface21 Team Blog in the last week. With the interesting blogs he's been posting, it's a wonder he doesn't write more. Click on the links below to learn about some cool features in Spring 2.0:

  • XML Syntax Sugar in Spring 2.0
  • A Java configuration option for Spring

Craig Walls also has some comments on the "p" namespace and the Java configuration option. I don't know how I feel about the "p" namespace, but I'll be asking AppFuse users what they think over the next week. In addition, I'll be watching the Java configuration project closely - this might be a good way to eliminate Spring's XML in AppFuse 2.2. You might notice on the AppFuse Roadmap that we hope to eliminate the need to write XML in this release (in favor of Convention over Configuration).

As far as blogging The Spring Experience next week, I'll do it if the sessions/speakers inspire me to do so. ;-) (2006-11-28 16:44:57.0) Permalink Comments [1]

20061116 Thursday November 16, 2006

How do you get open source frameworks past the red tape? Category: Spring Live

From an e-mail I received earlier this month, with a subject of "Acceptance red tape":

After requesting permission to use the Spring Framework for the business logic and data access layers of an application, how do you fight something like this? Spring is not an approved Framework for the ********** environment. We understand the benefits of the framework. However, we have not certified it in our environment. Additionally, we have concerns that this framework will not gain long standing traction among the J2EE community. We would like to reduce the number of frameworks used in our environment, and do not want to be left with "legacy" frameworks that have little acceptance or support as is the case with the pico container.

Read more on (2006-11-16 10:13:04.0) Permalink

20061103 Friday November 03, 2006

Spring Live Status Category: Spring Live

I updated Chapters 8 - 13 + Appendix A in July and it's been in tech and copy edit ever since. Currently, we're editing Chapters 12 and 13, so we're close to a release - hopefully sometime in December. Unfortunately, since I updated it in July, these updates don't cover Spring 2.0. Maintaining a book for 2.5 years certainly isn't easy. (2006-11-03 20:41:30.0) Permalink Comments [5]

20061026 Thursday October 26, 2006

Spring Web Flow 1.0 Released Category: Spring Live

Coverage is on the Spring Web Flow site and on Craig's blog.

Download | Documentation | Changelog | Upgrade Guide (PDF)

Ten sample applications ship with the release, each demonstrating a distinct set of features. The samples are:
  1. Phonebook - the original sample demonstrating most features (including subflows)
  2. Sellitem - demonstrates a wizard with conditional transitions, flow execution redirects, custom text field formatting, and continuations
  3. Flowlauncher - demonstrates all the possible ways to launch and resume flows
  4. Itemlist - demonstrates REST-style URLs and inline flows
  5. Shippingrate - demonstrates Spring Web Flow together with Ajax technology
  6. NumberGuess - demonstrates stateful beans, evaluate actions, and "single key" flow execution redirects.
  7. Birthdate - demonstrates Struts integration
  8. Fileupload - demonstrates multipart file upload, set actions, and flash scope
  9. Phonebook-Portlet - the phonebook sample in a Portlet environment (notice how the flow definitions do not change)
  10. Sellitem-JSF - the sellitem sample in a JSF environment

Congratulations to everyone involved in this release - especially the new parents! We'll be celebrating this release at the Spring BOF in Keystone tonight. Follow that with an Eclipse birthday party and it should be a good night. For fellow conference attendees, I've managed to secure beer for the BOF. ;-) (2006-10-26 17:32:29.0) Permalink Comments [1]

Weblog Archives
Click this photograph for National Geographic's Photo of the Day
Photo of the Day
Spring Logo
+ SourceBeat Weblogs

+ Spring Framework

Spring Live Book
• Raible Designs
• Who is Matt Raible?
Recent Comments