6 Replies Latest reply on Aug 4, 2010 7:17 AM by William Drai

    EJB 3.1 war packaging in JBoss 6 M3 and M4

    William Drai Newbie

      Hi all,

       

      I've tried to build a simple war containing annotated EJB classes in WEB-INF/classes but the EJBs are not deployed and they don't appear in the global JNDI view.

       

      The war is very simple, it contains a very basic stateless EJB with interface and a JPA entity :

       

      test.war

         index.html

         test.swf

         WEB-INF

             web.xml

             classes

                  test.service.TestService

                  test.service.TestServiceBean

                  test.entity.TestEntity

                  META-INF

                       persistence.xml

             lib

                  util.jar

       

      Nothing very sophisticated, but it does not work in M3 and M4.

       

      The status of this EJB 3.1 war packaging feature in JBoss 6 milestones is not very clear. It has been announced in some blog post but the JIRA is still open. Is this supposed to work out-of-the-box or is there something to configure ?

       

      Thanks.

      William