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


No comments yet. Be the first!

Most Viewed Articles (in Interview )

What is JSP Scriptlet?

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?

Tell me something about J2EE component?

Interview Question: Is there a particularly good IDE to use with Struts ?

What are implicit Objects available to the JSP Page?

Interview Question: How does Struts work?

Differentiate between .ear, .jar and .war files.

What is the difference between interface and abstract class?

Interview Question: Do you have to credit Struts on your own website?

Explain the user defined Exceptions?

The output of System.out.println(5>>2) in Java

Types of Interviews

What are the call back methods in Session bean?

How to define an Interface?

Interview Question: Why are some of the class and element names counter-intuitive?

Latest Articles (in Interview)