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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...