0 Replies Latest reply: Apr 27, 2012 8:20 AM by Daniel Straub RSS

    EJB-Call from a MBean - no scope

    Daniel Straub Newbie

      There are some conditions defined in the spec/java-doc when a scope is activated/destroyed.

      I'm missing the situation if a MBean calls a (local)  EJB, in such situations is no request scope active. So we have to be careful in our implementation (dealing with ContextNotActiveException etc).

       

      Is there a "offical" way to start a request scope in such situations  (or should I "reuse" some code of the EjbRequestScopeActivationInterceptor) ?