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

By: Ash Viewed: 153231 times  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 )

Latest Articles (in Interview)

Comment on this tutorial