java - EJB in a non managed bean -
what best/recommended way pass stateless ejb non managed bean(thread) in java ee application ? i've considered sending reference via constructor far.
as of cdi 1.1 (java ee 7), can use cdi
class reference current cdi container.
ejbs exposed cdi beans. so, have reference ejb's local interface:
cdi.current().select(yourejblocalinterface.class).get();
Comments
Post a Comment