1 Reply Latest reply on Mar 7, 2013 1:28 AM by Nicklas Karlsson

    Minimal EJB3/REST project on AS 7?

    dpocock Newbie

      I've implemented a Hello World stateless session bean with REST annotations


      If I deploy the EJB JAR alone, no web context exists and it is inaccessible


      I create an empty WAR project, and then I encapsulate the EJB-JAR and WAR files into an EAR, and I can then access the service using http://localhost:8080/warproject/path/hello


      My question is: do I really need to have that empty WAR file at all?  Is it not possible for the container to dynamically bind the REST service to the HTTP connector as http://localhost:8080/ejb-jar-project/path/hello ?