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 are the callback annotations for the stateless bean?

494


Is it possible to share an httpsession between a jsp and ejb?

515


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2020


What is ejb 3?

529


Define ripple effect?

644






What are ejbs used for?

499


What is session bean in ejb?

518


What are the system services of ejb container?

628


Define ejb Create() and EjbPostCreate()?

565


What ejb means?

529


How can enterprise javabeans be accessed from active server pages?

565


What is session bean?

541


How many ejb objects are created for a bean?

547


What is ejbdoclet?

521


What optimization could I use if the ejb container is the only point of write access to the database?

566