Spring sample code