I want to inject an EJB obejct to another EJB object, so I am well knowing that I can have it like
private SomeLocalDAO someDAO;
However, I feel it bizzard to have all the JNDI names in my code source;
I would like to declare the JNDI names in some xml files like jboss-ejb3.xml, so that I can just inject the EJB object by @EJB.
Is there any way to do it ?
Thanks in adavence.
Retrieving data ...