1 Reply Latest reply on Mar 10, 2005 5:49 PM by darranl

    Doubt about HAJNDI look up.

    leoliveira82

      Hi, i would like to know how to use HAJNDI service.

      Look the code above:
      Properties p = new Properties();
      p.put(Context.INITIAL_CONTEXT_FACTORY,
      "org.jnp.interfaces.NamingContextFactory");
      p.put(Context.URL_PKG_PREFIXES,
      "jboss:naming:org.jnp.interfaces");

      // what i put HERE to find the remote interface in a cluster ?????????????????????????
      p.put(Context.PROVIDER_URL,
      "????????????????????");
      return ((EnderecoFacadeHome)getHome(p)).create();

      Who can help me?