Also, regarding StatefulBean implementing SessionSynchronization, the spec
says "A stateful session bean class may use either the
javax.ejb.SessionSynchronization interface OR the
session synchronization annotations, but not both". It also states that "The
deployment descriptor may also be used to declare the individual session
synchronization methods".

What if I have a Stateful bean which implements SessionSynchronization AND
also configure synchronization methods in deployment descriptor. The spec is
not clear in this part.


On Mon, Jul 26, 2010 at 1:51 PM, Karan Malhi <[email protected]> wrote:

> In org.apache.openejb.jee.SessionBean, what is the difference between teh
> getAfterBegin() and getAfterBeginMethod() methods. According to the schema,
> the getAfterBeginMethod() makes sense, not sure what the getAfterBegin() is
> for. Same is the case with beforeCompletion and afterCompletion.
>
> --
> Karan Singh Malhi
>



-- 
Karan Singh Malhi

Reply via email to