• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

difference between Remote and Local interface

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's the problem? Do remote interfaces not work when the client is on a later version of Java?
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic