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
Define Initial Context?
What is use of @postconstruct?
What do you mean by ‘hot deployment’ ?
What is EJB server?
What is stateful or stateless?
What do you understand by session facade?
Define EAR, WAR and JAR ?
Name the attributes of javax.ejb.ejb.
What is ejb ql?
What is EJB server provider?
Is functional programming stateless?
What is software architecture of ejb?
What do you mean enterprise javabeans (ejb) container?
Is soap stateless or stateful?
Is udp stateless?