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
Define Context?
Can EJB made to handle multiple transactions?
What do you mean by ‘hot deployment’ ?
What are the system services of ejb container?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What does @inject mean in java?
What optimization could I use if the ejb container is the only point of write access to the database?
Is ejb a framework?
What is ejb container in java?
Enlist the enterprise beans types?
What is an entity and its types?
Name the attributes of javax.ejb.ejb.
Can more than a single table be mapped in cmp?
Is it legal to have static initializer blocks in ejb?
How is consistency maintained by Stateful Session through transaction updates ?