hi all Please do let me know in RMI how does method call is processed from stub at client side to skeleton at server side. Stub is remote reference to remote object with all remote methods(only signatures) cloned to it. When client makes call on remote object, call in intercepted by stub which internally delegates this call to remote object(skeleton precisely). My question is how does the method call propogates from stub internally? thanks in advance Vikas
There's a virtual layer in RMI called remote reference layer which is used by stub and skeleton. By default stub and skeketon use TCP to communicate internally. How ever we can change this using factory methods.