Code examples from Spring In Practice