I am new to clusters in WL7 and I wanted to know how a client would create an InitialContext
object to perform a JNDI lookup for a remote object deployed across serveral servers
in the cluster. Is the following correct?

Physcial Servers in the cluster
---------------------------------
machine1:9001
machine2:9001
machine3:9001

Code for creating InitialContext
-----------------------------------
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, "machine1:9001,machine2:9001,machine3:9001");

Context c = new InitialContext( p);



Thanks,

Raffi