Hi,

as I understand, every EJB has its own scope of JNDI names referring to
environmental objects, as defined by <resource-ref> and <ejb-ref> in the
deployment descriptor.

However, I keep seeing examples in which helper classes do JNDI lookup
operations for environmental objects, e.g. EJBUtil.getOrderHome().

Do these helper objects "inherit" the JNDI context of the bean from which
they are called? In other words, can every object which is called from a bean
access the bean's JNDI context? Where is this behavior specified? Are there
any restrictions?

thx
Heiko

===========================================================================
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