Hi All,
Can nyone tell me the diff between getInitialContext() and new
InitialContext()?
For weblogic I define like this
public static Context getInitialContext() throws
javax.naming.NamingException{
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.TengahInitialContex
tFactory");
p.put(Context.PROVIDER_URL,"t3://CHNSHL14120:7001");
return new javax.naming.InitialContext(p);
}
what's the difference in container behavior in these 2 diff
conditions??
Thanks,
Krishnaveni.
==========================================================================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".