Remote interface:
Remote interface used to access created
EJB object or EJB in client side from EJB container. The Remote interface resides in client side that is communicating with EJB container to access the created EJB object or EJB. The remote interface is only applicable for Session bean and Entity bean. It is not applicable to Message Driven bean
Remote interface:
Remote interface used to access created EJB object or EJB in client side from EJB container. The Remote interface resides in client side that is communicating with EJB container to access the created EJB object or EJB. The remote interface is only applicable for Session bean and Entity bean. It is not applicable to Message Driven bean
NOTE:
But we are having the difference between Remote and Local interface.
Scenario for Remote interface:
Consider clients are using different version of JVM, EJB container also use different version of JVM compare with clients, in this time we need to use Remote interface.
For example:
Client A using 1.5 version of JVM, Client B using 1.6 version of JVM and EJB container using 2.1 version of JVM
Scenario for local interface:
Consider all clients are using same version of JVM, EJB container also use same version of JVM compare with clients, in this time we need to use Local interface.
For example:
Client A using 1.5 version of JVM, Client B using 1.5 version of JVM and EJB container using 1.5 version of JVM.
REFFERNCE LINK
http://www.slideshare.net/PeterREgli/ejb-11413928