barebones hibernate/jpa/spring/rest web application architecture