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


Please Help Members By Posting Answers For Below Questions

What is an entity manager?

536


Is soap stateless or stateful?

540


What is EJB server provider?

583


Define ejb Create() and EjbPostCreate()?

569


What are ejb containers?

547






What is stateless session?

556


What are the design principles for ejb?

525


What is EJB server?

598


Define Clone?

599


Enlist the contents of Container.

586


What is difference between ejb and spring?

519


Match the ejb functions given below with the functionality equivalent in sql?

552


What is the procedure for the creation of stateless ejb?

547


Is state maintained by a Stateless bean?

568


What is ptp model?

583