How can I call one EJB from inside of another EJB?
Answer Posted / anil prasad
One EJB can be called from another EJB by using interfaces
EJBLocalHome and EJBLocalRemote. In the ejbCreate() of the
Home interface of another bean the remote reference of the
local EJB can be obtained. In any case the local ejb
cannot be accessed by the client outside the ejb container.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What are the callback annotations for the stateless bean?
Is it possible to share an httpsession between a jsp and ejb?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What is ejb 3?
Define ripple effect?
What are ejbs used for?
What is session bean in ejb?
What are the system services of ejb container?
Define ejb Create() and EjbPostCreate()?
What ejb means?
How can enterprise javabeans be accessed from active server pages?
What is session bean?
How many ejb objects are created for a bean?
What is ejbdoclet?
What optimization could I use if the ejb container is the only point of write access to the database?