Implemented rest jaxrs example