Can someone please explain to me the difference between annotating a field in an
EJB with @EJB and annotating the EJB class with the @EJB annotation and how it relates to the ENC?
To my understanding, annotating a field with @EJB injects a reference to the EJB into the field. Does it look up in the ENC to do this injection? Is all injection done from the ENC?
What does annotating a bean class with @EJB do?
Some clarification on these topics would be greatly appreciated.
Thanks.