Hello,
I call a Interest component with a client java however i modified it
"
prop.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
prop.put("java.naming.provider.url", "jnp://localhost:1099");
prop.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
// Get a naming context
InitialContext jndiContext = new InitialContext(prop);"
I'd like modify jndi.properties file to call ejb with out modification client java!!!
where I must put the jndi.properties file ???
I'd like to call the EJB with a jsp or Servlet!!!
what I must do???
Sincerily,
Leto
jndi.properties must be in the client's classpath