rmic – The Java RMI Compiler

Synopsis

rmic [ options ] package-qualified-class-name(s)

Explanation

The  rmic compiler generates  stub and  skeleton class  files (JRMP
protocol) and stub  and tie class files (IIOP  protocol) for remote
objects. These  classes files are generated from  compiled Java pro
gramming  language classes  that are  remote  object implementation
classes.  A remote implementation  class is a class that implements
the interface java.rmi.Remote. The  class names in the rmic command
must be for  classes that have been compiled  successfully with the
javac  command and must  be fully  package qualified.

A  skeleton for  a remote  object  is a  JRMP protocol  server-side
entity that has a method that dispatches calls to the actual remote
object implementation.



A tie  for a  remote object  is a server-side  entity similar  to a
skeleton,  but which communicates  with the  client using  the IIOP
protocol.

A  stub  is  a client-side  proxy  for  a  remote object  which  is
responsible for communicating method invo cations on remote objects
to  the  server  where  the  actual  remote  object  implementation
resides.  A  client's reference to  a remote object,  therefore, is
actually a reference to a local stub.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s