What is rmic?

Sujatha Sundaram

rmic is the Java RMI Stub Compiler. The rmic compiler generates stub and skeleton class files for remote objects from the names of compiled Java classes that contain remote object implementations.

A skeleton for a remote object is a server-side entity con- taining a method that dispatches calls to the remote object implementation.

A stub is a proxy for a remote object that is responsible for forwarding method invocations on remote objects to the server where the actual remote object implementation resides. Therefore, a client's reference to a remote object is actually a reference to a local stub.