Why another Spring tutorial?
Learning a new technology stack is hard. In a funny way, it is even harder when the stack is stable and has been around for long, like Spring has. Additionally – because Spring is so big – it isn’t always apparent where you should start to learn.
I haven’t found a good trail on Spring yet, and even though the online documentation is quite extensive and the Getting started part of SpringSource’s website has a wealth of information and links – it is quite overwhelming.
My goal in this page and the various posts that will go with it is to create a “Spring trail” in a way that makes sense to me. Hopefully to others.
Note: This trail starts with Spring 3.0, with some material from 3.1. It is probably always a good idea to use the latest version you can.
Spring is huge, and there’s no obvious point to start, but for me, Spring is mainly for web applications (although it doesn’t have to be…) – so the natural first step for me is with Spring MVC (also sometimes called Spring-Web MVC). – And the trail begins there.
- STS and Spring MVC Tutorial part 1 – start with something that works (and set up your dev environment on the way).
- DispatcherServlet – An in-depth explanation of the main entry point for Spring MVC applications.
- STS and Spring MVC Tutorial part 2 – A little bit more about controllers and views.
- STS and Spring MVC Tutorial part 3 – Introducing some JPA into the mix.