This content has been marked as final.
Show 1 reply
-
1. Re: CDI Rquest context and local EJBs
marcelkolsteren Sep 19, 2010 8:15 AM (in response to wujek)I suppose you're referring to section 6.7.1 of the JSR-299? You probably missed the consequences of this sentence:
The context associated with a built-in normal scope propagates across local, synchronous Java method calls, including invocation of EJB local business methods.When you combine this with the guarantees about an active request scope during servlet calls, web service invocations, remote EJB business method invocations, etcetera, you can derive that in most practical cases the request context will just propagate into any of your EJB local business methods. So in practice, the request scope will be active during EJB local business method calls.