Can CDI enter EJB references in my remote EJB client?
In fact, I have a test case of JUnit that runs locally on my system and access to EJB running on stand-alone JBoss AS. I am currently using JNDI to access the remote bean business interface and testing.
I would like to know if @Inject can help me insert my EJB instance directly in my test case here so that I can avoid JNDI lookups and still access EJBs?
source
share