java2rmi is the Novell exteNd WSSDK Java to RMI wizard.
java2rmi [options] [package-qualified-class-name]where options include:
-help print out this message
-static include static methods from class
-file <name> write RMI to file without displaying wizard
-J<vm flag> pass argument to the java interpreter
The java2rmi compiler transforms Java classes into RMI Remote interfaces. If run without any command line arguments, a window will all classes reachable from the CLASSPATH is displayed. Users can select a class and press Next to view methods available to the remote interface. If run with a fully qualified class name, the tool skips straight to the method list. Once the methods have been selected, the resulting remote interface can be saved to disk.
-helpPrints out the command syntax.
-staticInclude static methods from class.
-file <name>Write RMI directly to the specified file without running the GUI wizard. The class name will be determined from the name of the file, e.g. if the file name is foo.java, the class name will be foo. All methods from the class are automatically included in the remote interface when using this option.-J<vm flag>Pass a flag to the jvm. As an example -J-Xms100m sets the maximum heap size to 100 MB when running java2rmi. This option can be used multiple times on the command line.
Copyright © 2001-2003, Novell, Inc. All rights reserved.