1 Reply Latest reply on Mar 9, 2005 11:54 AM by Leonardo Ribeiro de Oliveira

    Doubt using HAJNDI Service

    Leonardo Ribeiro de Oliveira Newbie

      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?