Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between Remote and Local interface

 
Boxer venkat
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the problem? Do remote interfaces not work when the client is on a later version of Java?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic