[jax-rs-spec users] Re: CDI integration and _at_RequestScoped

From: Marek Potociar <>
Date: Wed, 18 Feb 2015 14:40:17 +0100

Hi Sergey,

Which runtime you are referring to? CDI runtime or JAX-RS runtime?


> On 18 Feb 2015, at 12:27, Sergey Beryozkin <> wrote:
> Hi
> I've checked the spec and I'm not seeing any guidance re the scope of CDI JAX-RS root resource Beans, it only mentions that "providers or Application subclasses" have to be singleton or application-scoped.
> If a CDI root resource is annotated with @RequestScoped then does it mean the runtime is expected to ensure it is created once per every request ?
> Thanks, Sergey