Code examples from the book "Spring in Action, Third Edition" by Craig Walls, 2011