Submitted Questions

  • how ejp aplication communicate with jsp or servlet

    Tamil Selvan

    • May 28th, 2007

    To access a servlet/jsp from EJB create a URL and call its openStream() method.URL google = new URL("http://www.google.com/"); BufferedReader in = new BufferedReader(new InputStreamReader(go...

    ArulJothi

    • Sep 18th, 2005

    JSP or Servlet can communicate with EJB by giving the jndi name of that EnterpriseJavaBean in the lookup method of InitialContext.It will return a reference for the home interface of EJB.