1 Reply Latest reply on Mar 9, 2005 11:54 AM by leoliveira82

    Doubt using HAJNDI Service

    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 a cluster ?????????????????????????
      p.put(Context.PROVIDER_URL,
      "????????????????????");
      return ((EnderecoFacadeHome)getHome(p)).create();

      Who can help me?