>
> They would be - if an instance of X "used" an
> instance of Y i.e. if you called
> instanceOfY.anotherMethod() from within your
> session bean X's someMethod, then both
> c1 and c2 will lookup the same definitions
> under "java:comp/env" defined in X's descriptor.
>
Agreed, absolutely. The locality of the InitialContext is not determined by
the location of the call in the source code, but by the innermost
container-invoked EJB method call at runtime.

- Avi
--
This signature intentionally left blank.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to