Why does EJB needs two interfaces



Q) Why does EJB needs two interfaces(Home and Remote Interface)
A) 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.

Share with SociBook.com

Related Post

Post a Comment