NetRexx classes and Applets for the Web


If you write applets for the World Wide Web (or your intranet) in NetRexx, you will probably need to use the NetRexx classes (netrexx.lang.Rexx, etc.); they will be used automatically if the default compilation options (specifically, options nobinary) are in effect.

A good way of setting up an HTTP (Web) server for this is to keep all your applets in one subdirectory; you can then make the NetRexx runtime classes (that is, the classes in the package known by Java as netrexx.lang) available to all the applets by unzipping NetRexxR.zip into a subdirectory netrexx/lang below your applets directory.

For example, if the root of your server tree is

  D:/mydata 

then you might put your applets into

  D:/mydata/applets 

and then the NetRexx classes (unzipped from NetRexxR.zip) should be in the directory

  D:/mydata/applets/netrexx/lang 

The same principle is applied if you have any other Java packages that you want to make available to your applets: the classes in a package called fred.math.quicksorts would go in a subdirectory below applets called fred/math/quicksorts, for example.

Note that with Java 1.1 it should be possible to use the classes direct from the NetRexxR.zip file (which is in fact a Java 'jar' file), providing that the browser being used is at a Java 1.1 level. See the Java 1.1 documentation for details.


[ previous section | contents | next section ]

From 'nrinst.doc', version 1.148.
Copyright(c) IBM Corporation, 1996, 1998. All rights reserved. ©