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

Answer Posted / deepti mehta

HOME INTRFACE:- The home interface defines methods that
allow EJB clients to create and find EJB component.

REMOTE INTERFACE:- A remote interfece defines all the
business methods of the enterprise bean that the EJB client
would invoke.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different kind of ejb's?

539


Define SessionContext ?

593


What do you understand by session facade?

524


How does ejbs work?

515


What do you mean by ejb ql?

575






Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?

543


Why is ftp stateful?

533


What is the difference between session and entity beans? When should I use one or the other?

552


The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?

563


What is a stateless session?

506


Differentiate “find a method” from “select method” in EJB ?

532


Enlist the CallBack methods of Session Bean?

566


How can a session bean be configured for transactions of bean-managed?

580


What does statelessness mean?

528


What is difference between stateless and stateful?

497