Spring framework sample code