Search code examples
javajakarta-eejbossejbjava-ee-6

Does JBOSS 5_1_0 GA support packaging EJBs in WAR?


I have beans annotated with @Stateless packaged in WEB-INF/lib/*.jar. Does JBoss 5.1.0 GA support these type of EJB deployment mentioned here

Or do I need to package my beans always in an EAR and provide JBoss descriptors?


Solution

  • JBoss 5 is a Java EE 5 EJB 3.0 Compatible Implementation.
    EJB3.1 spec (part Java EE 6) lets .war files to contain EJBs and is not part JBoss 5, you can try with JBoss AS 6 or any higher version