Can I (and if so, how?) lookup CDI managed beans using javax.naming.Context#lookup in EJB module?
javax.naming.Context#lookup
I\'m using GlassFish v3. I suppose that I can use
You can lookup the BeanManager via JNDI (java:comp/BeanManager) then use the JSR-299 API hung off of the BeanManager to get a contextual reference to a managed bean.
BeanManager
java:comp/BeanManager
JSR-299 managed beans are not available for direct JNDI lookup.