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 |
Explain transaction and various methods to manage it?
what is a ejb architecture? and overview of ejb software architecture?
Name the attributes of javax.ejb.ejb.
How do you decide whether you should use session, entity or message driven bean?
In what format is the conversational data written to the disk?
Can an ejb send asynchronous notifications to its clients?
What are ejb components?
what is mean by RMI ? Please answer me. Advance thanks.
Transaction Attributes? What is the use of ?RequiresNew?
What are the limitations of using local object?
Why do we need ejb?
java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?