What is the functionality of the stub

Showing Answers 1 - 1 of 1 Answers

haijing

  • Jun 8th, 2007
 

In RMI, when a client calls a method on a remote object, the client is really calling a method on a proxy of the remote object. The proxy is called a stub. A stub is a client helper object that takes care of the low-level networking details(sockets, streamers, serialization, etc.) by packaging and sending method calls to the server. The stub is generated by running rmic command.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions