Simple rest webservice based on resteasy freamwork