There really isn’t anything too difficult about learning Spring. Spring, at its core, is a very simple and easy to learn “Inversion of Control” (IoC) container, and I’m going to show you just how easy it is to learn. But before you can learn how to leverage the benefits of a Spring IoC container, you have to have an environment setup that will allow you to write, test, compile and run some Spring-based code. And then, after you've done that, well, you've then got to actually go ahead and write and test that code.
At TheServerSide.com, we've put together a few great tutorials that will help get you started with Spring 3.0. Here's the first one:
The tutorial itself is as simple and straight-forward as it gets, which is exactly what you need when you're learning something new. And just to make life even easier, I put together a little video tutorial that lets you follow me through all of the steps that are listed in the lesson above:
Now, once you've got your environment set up, you're going to be antsy to start hacking out some code. That's where the second tutorial comes in:
More and more people are interested in writing Spring applications without having to use those massive, unruly, XML configuration files. This tutorial demonstrates how to get Spring to spit back instances of your JavaBeans, both by using annotations without XML, and by using Spring XML configuration files too. It's a great way to compare the two approaches to performing Inversion of Control (IoC) with Spring.
I also put together a CBT covering this lesson as well:
So, if you're interested in learning the latest edition of Spring, then this is definitely the place to get started. And yes, these are just introductory tutorials. There are more coming, so stay tuned.
Recommended Books for Learning Spring
Spring in Action ~ Craig Walls
Spring Recipes: A Problem-Solution Approach ~ Gary Mak
Professional Java Development with the Spring Framework ~ Rod Johnson PhD
Pro Java EE Spring Patterns: Best Practices and Design Strategies ~ Dhrubojyoti Kayal