correct scope for jaxrs api