RMI Stubs and Skeletons
Stubs are the client side proxies representing the remote server side objects
- They look like local objects as far as other client side objects are concerned
- They serialize input parameter data and pass to RRL as a “marshall stream”; correspondingly stubs deserialize return values of remote methods and pass to client object that called remote method
The skeleton is server side interface of server side method to RRL
- The skeleton deserializes input parameters and calls actual server side method; it serializes return values and hands as “marshall stream” to RRL