modified resteasy-example to use resteasy3