sample programes using spring framework