1 Reply Latest reply on Nov 13, 2002 11:00 AM by juha

    Call EJB with a Client java or a Servlet

    leto2

      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