nexusrmis manual

Name

nexusrmis - Serialization compiler for the NexusRMI system

Synopsis

nexusrmis [options] filename...

Description

This compiler will add traversal routines to the specified 'serializable' classes. The traversal routines are added in the java source files itself. If the original source file is called "MyClass.java", the original code for this class will be saved in "MyClass.orig". Use the rollback command to restore this file to "MyClass.java".

The nexusrmis script is a wrapper around the original javar compiler. This compiler has been augmented with a module which generates the traversal routines.

Nexusrmis will add the following methods from the "SerialObject" interface to classes that implement the "Serializable' interface:

It will also add a parameterless constructor if one not already exists and will add "SerialObject" to its implements clause.

Javas will search for the class files of all classes directly or indirectly referenced by the remote class. Currently, it cannot read from compressed/ archived class file repositories. To allow javas to access the system classes, it is advised that the class file repository that comes with the Java development tools is unpacked in a separate directory.

Javas uses the CLASSPATH variable to find the class files it needs. Make sure this variable is setup correctly. Because it is generally advised not to have the unpacked class files in the CLASSPATH, the nexusrmic shell script will include this location in the existing CLASSPATH temporarily. This means that you have to edit the nexusrmic script to specify the location of the unpacked system classes.

Options

See also

javar rollback

Author

Fabian Breg
Fabian Breg
Last modified: Fri Oct 23 09:28:10 EST 1998