An example of using spring web mvc with hibernate