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
How does ejb container work?
How to generate ejb stubs in eclipse?
What is activemq used for?
Name the attributes of javax.ejb.stateful.
What is session bean in ejb?
What is mdb in ejb?
Explain the concept of connection pooling feature of ejb container?
What are stateless functions?
What is ejb framework?
What is ejb and its properties?
What are the callback annotations for the stateless bean?
What is an entity and its types?
in EJB diclare the static methods are not?
How to determine, that beans are TX or not?
Name the attributes of javax.ejb.ejb.