[jboss-user] [JNDI/Naming/Network] - Re: Global namespace: Client network restriction

jaikiran do-not-reply at jboss.com
Fri Oct 5 11:09:48 EDT 2007


The JNDI lookup is done based on the properties passed to the Context:

  | Hashtable props = new Hashtable();
  | props.put(Context.PROVIDER_URL,"jnp://xxx.yyy.zzz.xxx:1099");
  | Context ctx = new InitialContext();

The PROVIDER_URL mentions the server:port where the JNDI lookup has to be done. So as long as the client which is doing this lookup has access to the xxx.yyy.zzz.xxx:1099 server/port, it can lookup the objects from the Global JNDI namespace.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092057#4092057

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092057



More information about the jboss-user mailing list