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?

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

Define Context?

1016


Can EJB made to handle multiple transactions?

966


What do you mean by ‘hot deployment’ ?

994


What are the system services of ejb container?

1020


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

987


What does @inject mean in java?

1054


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

960


Is ejb a framework?

913


What is ejb container in java?

890


Enlist the enterprise beans types?

989


What is an entity and its types?

977


Name the attributes of javax.ejb.ejb.

899


Can more than a single table be mapped in cmp?

962


Is it legal to have static initializer blocks in ejb?

940


How is consistency maintained by Stateful Session through transaction updates ?

1111