� The ejbCreate<METHOD>, ejbRemove, ejbPassivate, and ejbActivate methods
of a session bean with container-managed transaction demarcation execute with an unspecified
transaction context. Refer to Subsection 17.6.5 for how the Container executes methods
with an unspecified transaction context.
� Accessing resource managers and enterprise beans is disallowed in the session bean methods
for which the Container does not have a meaningful transaction context or client security context.
[ejb2-spec pp81]
why in the method ejbPassivate or ejbActivate can access JNDI
java:comp/env,Resource manager ,other Enterprise bean also it is denied in the same method of entity bean