Spring code samples for Spring training