How not to hate Spring in 2016

Over the Thanksgiving weekend a 2014 article called “Why I hate Spring” by Sam Atkinson started doing the rounds on Twitter. It’s always interesting to listen to criticisms to see what we can do to improve Spring, much of Spring Boot was born out of listening to people talk about the problems that they faced with the framework.

In this blog post, I’ll try to address some of the concerns discussed in Sam’s article, and describe my personal Spring “best practices”. Before we get too much into the details though, it’s worth considering why less than optimal ways of doing things still exist in the framework.