Programming Tutorials

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

By: Ash in Interview Tutorials on 2008-08-13  

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Question: What is a Hidden Comment in JSP?

Question: How would you go about analyzing performance of an application?

Interview Question: What is EJB container?

Interview Question: What is Local client view in EJB?

Interview Question: What are the optional clauses in EJB QL?

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

Interview Question: What is difference between EJB 1.1 and EJB 2.0?

Interview Question: What is deployment descriptor?

Interview Question: What is local interface. How values will be passed?

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

What is the difference between jsp:include page and @ include file?

What is Collection API?

Explain the new Features of JDBC 2.0 Core API?

What is difference between Java Bean and Enterprise Java Bean?

What are all the different scope values for the tag?

Latest Articles (in Interview)