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 is @resource in java?
How ejb invocation happens?
What is use of @postconstruct?
What is the difference between message driven beans and stateless session beans?
What’s new in the ejb 2.0 specification?
How to import ejb project in eclipse?
How many types of session beans are available in ejb?
What are versions of ejb?
What is stateful or stateless?
What is enterprise bean?
What is an ejb platform?
How does ejb work in java?
Name the attributes of javax.ejb.ejb.
What are the components of ejb?
What is the difference between ejb and java beans?