Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

By: Ash Printer Friendly Format    


Question:Why does EJB needs two interfaces(Home and Remote Interface)?

Answer: There is a pure division of roles between the two.

Home Interface is the way to communicate with the container which is responsible for creating , locating and removing beans and Remote Interface is the link to the bean that allows acces to all methods and members.

 

 

 

 


Most Viewed Articles (in Interview )

Question: What is an output comment in JSP?

Interview Question: Who makes the Struts?

Interview Question: Why do we need Struts?

Interview Question: How does Struts work?

Interview Question: Where can I get a copy of Struts?

Interview Question: What is EJB container?

Interview Question: What is Local client view in EJB?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: What are the call back methods in Entity bean?

Interview Question: What is abstract schema?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Question: What is an Expression tag in JSP?

Question: What is the directory structure of a web application?

Question: How is the MVC design pattern used in Struts framework?

Latest Articles (in Interview)

Comment on this tutorial