Revert "Revert "now using JPA and Servlets""

This reverts commit 3c89c41d953d715ee1fda309279af67808fb50a2.