Java Class to Java RMI Compiler

The Novell exteNd Web Services SDK java2rmi is a simple tool for generating remote interfaces out of already existing classes. The following steps can be taken to generate the remote interface.

Step 1: Start the tool by running the java2rmi binary to start the GUI. Select an already existing class from a class file path or from a JAR file, as show below and hit Next.

Step 2: Using the method wizard select the public methods which you want to appear in the remote interface, from the class as shown below and hit Done.

Step 3: Type the package name for the remote interface you want to generate and hit OK.

Step 4: Save the generated source of remote interface in the folder of your choice.

The Novell exteNd java2rmi is usually started using the following command:

java2rmi

Please refer to the java2rmi man page for a detailed description of the command line parameters.



Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.