| Author |
which value to set for Context .INTIAL_CONTEXT_FACTORY for J2EE server ?
|
Ruchik Bhatt
Greenhorn
Joined: Jul 30, 2002
Posts: 13
|
|
|
i m using j2ee server for a chat application. On the server side i m also using JMS. For the client i m jms.jar and jdk1.4 for making th client win 98 compatible. So what value should i set for the Context.INITAIL_CONTEXT_FACTORYon the client for J2EE server..
|
SCJP
|
 |
Eduard Manas
Ranch Hand
Joined: May 12, 2002
Posts: 69
|
|
Ruchik, The name of this property depends on the application server you are using. For Weblogic, for example, is weblogic.jndi.WLInitialContextFactory.
|
 |
JeanLouis Marechaux
Ranch Hand
Joined: Nov 12, 2001
Posts: 906
|
|
|
com.ibm.websphere.naming.WsnInitialContextFactory for WebSphere 4.x
|
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
|
 |
HanMing Low
Ranch Hand
Joined: Oct 18, 2001
Posts: 196
|
|
Hi, I think you're refering to RI, am I right? props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory"); props.put(Context.PROVIDER_URL, "iiop://localhost:<Whateverport>"); Hope this helps. Cheers. Han Ming
|
 |
 |
|
|
subject: which value to set for Context .INTIAL_CONTEXT_FACTORY for J2EE server ?
|
|
|