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...

Why does EJB needs two interfaces, Home and Remote
Interface?

Answer Posted / john doe

The Home Interface is used to create an EJB Object. The Home
interface specifies the Remote interface and calls the
create(). After the EJB Object is created it will return its
reference to the Home Interface.

When a call to a function is made. The client will use this
reference and call the specific remote interface which
inturn will pass the request to the EJB Object. The EJB
Object decides which function has to be called from the EJB

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Enterprise JavaBeans (EJB)?

1035


What is use of @postconstruct?

956


When was ejb developed?

1023


Explain the important elements of ejb?

976


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

1011


What are the key benefits of the ejb technology?

1057


What is Enterprise JavaBeans Query Language (EJB QL)?

953


Is soap stateless or stateful?

1015


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

1001


Enlist the contents of Container.

1058


Where is ejb used?

954


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

1002


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

993


What are stateless functions?

962


Who took over ejb?

1062