0 Replies Latest reply on May 21, 2006 6:28 AM by info note

    Call EJB3 method from webclient

    info note Newbie

      Hi,

      In EJB3 how do u call a EJB3 method from the webclient e.g. servlet, action class?


      I built a enterprise app with ejb and webclient using Netbeans 5.5.

      E.g. you have sessionbean local

      in the session bean local you have method:

      package sessionpackage;



      boolean sessionmethod(string s);



      In the servlet or struts action, how do u call the ejb method.
      Do you have to import the session local into webclient library?


      A step by step process if possible please

      Thanks in advance.