aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes difference between Remote and Local interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "difference between Remote and Local interface" Watch "difference between Remote and Local interface" New topic
Author

difference between Remote and Local interface

Boxer venkat
Greenhorn

Joined: Aug 18, 2012
Posts: 4
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

What's the problem? Do remote interfaces not work when the client is on a later version of Java?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between Remote and Local interface