Hi,
I too have some doubts with the specifications on the things that we can/cannot do in methods.
On page 81 of the specifications:
Accessing resource managers & enterprise beans is disallowed in the session bean methods for which the Container does not have a meaningful transaction context or client security context.
Is "running with unspecified transaction context" the same as "without meaningful transaction context"?
On page 76 of the specifications:
A session bean's newInstance, setSessionContext, ejbCreate, ejbRemove, ejbPassivate, ejbActivate and afterCompletion methods are called with an unspecified transaction context.
Then, on page 80, the table showed that afterCompletion method cannot have accesses to another
EJB nor resource managers.
How is it that the ejbCreate, ejbRemove, ejbActivate & ejbPassivate methods can have accesses to another EJB & resource managers? Aren't they suppose to be running with unspecified transaction context? What is so different between afterCompletion & the rest?
Does anyone have any clue? Is the specifications wrong? Or am I missing something important here?
Any help is much appreciated.
