2 Replies Latest reply on Dec 10, 2011 7:12 AM by Wolf-Dieter Fink

    Maven + JBoss + EJB

    jeremie guidoux Newbie

      Hello hevery one,


      I am new in this forum.

      I tried to use maven and jboss to use EJB.

      To create my maven project, I use this tutorial : https://docs.jboss.org/author/display/AS71/Creating+your+own+application

      With this, I create an maven project with already contain  severals java classes and ressources.

      So I add an EJB package. I create this interface :


      public interface ISayHelloService


          String sayHello(String _who);



      and this class :


      public class SayHelloBean implements ISayHelloService





          public String sayHello(String _who) {


              return "Hello " +  _who;





      Now , I want to create a maven client project to use this, but I don't really know how to do this.

      • I have created a maven project but I don't know what to write in the pom.xml files
      • and I don't know what to do il the context.lookup() method


      Can you help me please ?