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

Define Initial Context?

588


What is use of @postconstruct?

525


What do you mean by ‘hot deployment’ ?

588


What is EJB server?

598


What is stateful or stateless?

531






What do you understand by session facade?

524


Define EAR, WAR and JAR ?

599


Name the attributes of javax.ejb.ejb.

503


What is ejb ql?

570


What is EJB server provider?

581


Is functional programming stateless?

526


What is software architecture of ejb?

538


What do you mean enterprise javabeans (ejb) container?

605


Is soap stateless or stateful?

536


Is udp stateless?

575