No doubt the EJBInjectionEnricher deserves a major refactoring (ARQ-77, ARQ-836, ...). However in the mean time we could add @EJB#lookup() support. The reason is EJB#mappedName() should not be used in EJB 3.1 (it's product-specific), instead portable JNDI names and EJB#lookup() should be used.
is related to
ARQ-77Support @EJB injection with proper semantics