This works as expected. See also the spec, section 12.1. Bean archives:
An archive which contains an extension and no beans.xml file is not a bean archive.
The simplest solution would be to place a beans.xml descriptor with a version number of 1.1 (or later) and the bean-discovery-mode of annotated in both EJB and WAR modules.
|