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?
Have you read the clustering documentation I pointed you to yesterday? It contains the information needed for all of the questions that you have asked so far.