reworked java part to use JPA, persistance implemented and tested, webservice to come