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
What is Enterprise JavaBeans (EJB)?
What is use of @postconstruct?
When was ejb developed?
Explain the important elements of ejb?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
What are the key benefits of the ejb technology?
What is Enterprise JavaBeans Query Language (EJB QL)?
Is soap stateless or stateful?
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?
Enlist the contents of Container.
Where is ejb used?
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?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
What are stateless functions?
Who took over ejb?