Description
This bug was really hard to isolate:
A @Stateless @WebService bean deployed through an ApplicationComposer @Module of type EnterpriseBean|EjbJar|EjbModule will not have its @Resource WebServiceContext injected IF the @Module is annotated with @Classes (even if @Classes is empty).
The same @Module without the @Classes will work. It will also work if the @Module returns Class<?>[] instead.