Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can I call one EJB from inside of another EJB?

Answers were Sorted based on User's Feedback



How can I call one EJB from inside of another EJB?..

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

How can I call one EJB from inside of another EJB?..

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

Post New Answer

More EJB Interview Questions

Name the attributes of javax.ejb.ejb.

0 Answers  


what is mean by OLE ? Please answer me. Advance thanks.

0 Answers   Excel,


What are the required methods to implement EJB architecture?

2 Answers  


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

0 Answers   Infosys,


Explain transaction and various methods to manage it?

0 Answers  


What are the attributes of transaction in ejb?

0 Answers  


What is stateless and stateful?

0 Answers  


In an EJB project, Howmany tables and How many entity beans are used?

1 Answers  


Life cycle methods in stateless Session Beans?

3 Answers   Virtusa,


What are the various types of entity beam?

0 Answers  


what is mean by com/Dcom ? Please answer me. Advance thanks.

1 Answers   Excel,


Why do we use @requestmapping?

0 Answers  


Categories