example service with resteasy