![]()
|
Using NetRexx for Web appletsWeb applets can be written one of two styles:
If you write applets which use the NetRexx runtime (or any other Java classes that might not be on the client browser), the rest of this section may help in setting up your Web server. 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 to the Java Virtual Machine as netrexx.lang) available to all the applets by unzipping NetRexxR.jar into a subdirectory netrexx/lang below your applets directory. For example, if the root of your server data tree is D:/mydatathen you might put your applets into D:/mydata/appletsand then the NetRexx classes (unzipped from NetRexxR.jar) should be in the directory D:/mydata/applets/netrexx/langThe same principle is applied if you have any other non-core Java packages that you want to make available to your applets: the classes in a package called iris.sort.quicksorts would go in a subdirectory below applets called iris/sort/quicksorts, for example. Note that with Java 1.1 or later it should be possible to use the classes direct from the NetRexxR.jar file providing that the browser being used is at a Java 1.1 level. This may also depend on your server being set up correctly. Please see the Java documentation for details. [previous | contents | next] |