Hi,
I have deployed a bean in the websphere.But i am unable to connect it from the client.So far i have used weblogic.I heard that we have to change the following code:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi. WLInitialContextFactory"
ht.put(Context.PROVIDER_URL,"t3://localhost:7001"
Context ct = new InitialContext(ht);
Please help me out to solve the problem by sending the code
Thanks in advance.
I have deployed a bean in the websphere.But i am unable to connect it from the client.So far i have used weblogic.I heard that we have to change the following code:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi. WLInitialContextFactory"
ht.put(Context.PROVIDER_URL,"t3://localhost:7001"
Context ct = new InitialContext(ht);
Please help me out to solve the problem by sending the code
Thanks in advance.