move jpa config into model
fix web.xml