25-08-2017, 09:32 PM
OBJECT COMMUNICATION USING STUB SERVER
STUB SERVER.ppt (Size: 1.06 MB / Downloads: 38)
Functioning
The caller invokes a method on the local stub which is responsible for carrying out the method call on the remote object.
In RMI, a stub for a remote object implements the same set of remote interfaces that a remote object implements..
Stub Operation
Package identifier of Remote Object
Package Method Identifier
Marshal Parameter
Send Package to Server Skeleton
Client Object calls client stub in normal way
Client stub builds message, calls local OS
Client's OS sends message to remote OS
Remote OS gives message to server stub
Server stub unpacks parameters, calls server