How can I call one EJB from inside of another EJB?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kameshwar
EJBs can be clients of other EJBs. It just works. Use JNDI
to locate the Home Interface of the other bean, then acquire
an instance reference, and so forth.
| Is This Answer Correct ? | 3 Yes | 1 No |
What is EJB object?
in EJB diclare the static methods are not?
what is mean by dll ? Please answer me. Advance thanks.
When was ejb developed?
What does ejb stand for?
What are the types of enterprise bean?
What is a Java Bean?
Is it legal to have static initializer blocks in ejb?
What is ejb in java with example?
Explain the concept of local interfaces?
What are the attributes of transaction in ejb?
What do you mean by ejb ql?