made webservice an ejb
persistence fixes