This content has been marked as final.
Show 1 reply
-
1. Re: Running standalone clients
nickman Apr 14, 2004 10:06 AM (in response to rafaelfarias)import java.util.*; import javax.naming.*; . . Properties p = new Properties(); p.put(Context.PROVIDER_URL, "jnp://localhost:1099"); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); ctx = new InitialContext(p);