Hi,
A doubt on sessionContext
The spec says
4.3.3 The SessionContext Interface
If the bean specifies a dependency on the SessionContext interface (or
if the bean class implements
the SessionBean interface), the container must provide the session
bean instance with a SessionContext.
This gives the session bean instance access to the instance's context
maintained by the
container. The SessionContext interface has the following methods:
Now does this mean that if we put a setSessionContext method in the
bean the sessionContext should be injected irrespective of whether the
bean class implements
the SessionBean interface? Currently that is how it is in Openejb but
still I wanted to confirm whether that is the behaviour required. Same
for MDB's as well.
thanks
Manu