Smita Srivastava <[EMAIL PROTECTED]> writes:
>
> When initialContext() is called with no parameters (no environment specifically)
> when a bean references another bean, then where is the name of the
>INITIAL_CONTEXT_FACTORY
> picked up from? Is it set in an application resource file (jndi.properties
> in the java.home/lib directory?)
Most likely it will be set in an application resource file somewhere
in the classpath of the component. There are other possibilities such
as using a system property. It is the Container's responsibility
to set this up, not the bean's.
Scott Seligman
Java Software Engineering
Sun Microsystems
===========================================================================
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".