Thursday, December 13, 2007

The Spring Experience - Day 2 Afternoon

In the first session of the afternoon, Rob Harrop talked about batch processing including I/O and data access strategies. Rob is a very energetic speaker and he definitely keeps it interesting with his lively stories. The talk was very well organized, but fairly basic if you've ever worked on moderately large batch processing. Some of his recommendations include:

- collections are evil
- so is DOM
- streaming is your friend
- use I/O buffering
- parallelization
- partitioning

I believe Rob along with a guy from Accenture are the leads on Spring Batch. They're working on milestone release 4. I'm sure it's something we'll be looking at closely for our batch needs in the future.

In the second afternoon session I attended, Rod Johnson talked about The State of the Art in Dependency Injection. Not surprisingly, he admitted he doesn't have as much time to write code as he used to. However, it was obvious that he still has a deep technical understanding of the state of the enterprise Java landscape. In his talk he walked through the history of DI going all the way back to his first book. It was a fairly in-depth review of various DI containers and their current state including various versions of Spring, PicoContainer, SEAM, Guice and EJB 3. He talked about the pros and cons of various features and how they've introduced the best-of-breed into Spring (with attribution to the innovator). Overall it was a very good talk. One tidbit of information that I didn't know about is their new Spring Java configuration. It's exactly what it sounds like, you use Java code to configure Spring. So now there are three options for configuring Spring: 1) XML, 2) Annotations and 3) Spring Java Configuration. Sadly, this is the second and last talk that Rod is giving at this conference. Obviously I'd like to hear more from him.

No comments: