Professional Documents
Culture Documents
RMILearning
RMILearning
Contract between a client & server what bussiness methods will be available for a
client to call on that particular Remote object
Interface will be available at both client & server
Protocol used f
Server(JVM2)
|
Skeleton[interface class, imple class, stub class ]
lookup for the Remote object using the bindname, get the reference of the remote
object type & then invoke the method
Against the bindname a particular object reference is stored
@EJB(Lookup="") ->Lookup into the RMI registry for the specified bindname to which
Remote object is registered.
The Client will Lookup into the registry with the bindname & will return a Remote
type of object
Interace object; Remote type object is downcasted to a Stub type\Interface
type object