a example application using spring 4 and hibernate 4