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 )

Explain the Encapsulation principle.

Interview Question: Where can I get help with Struts?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

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

What is Collection API?

What is the difference between JTS and JTA?

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: Why aren't the Struts tags maintained as part of the Jakarta Taglibs project ?

What is Deployment Descriptor?

What are implicit Objects available to the JSP Page?

Interview Question: Write code of any Action Class?

Question: What is a Hidden Comment in JSP?

What are the call back methods in Session bean?

What is bean managed transaction?

Latest Articles (in Interview)