Template spring 3 rest api app with JPA and annotation based configuration