Can CDI inject EJB references in my remote EJB client?
Actually I've a JUnit test case that runs locally on my system and access a EJB running on a standalone JBoss AS. I'm currently using JNDI to access remote business interface of the bean and testing the same.
I would like to know, If @Inject can help me here injecting my EJB instance directly to my test case so that I could avoid JNDI lookups and still access the EJB?