made jpa work with spring. seperated out web config and services config
in the springmvc application