Remote subject UI
The remote UI demo allows you to test remote subject UIs, the network
connections to subject UI server. To test remote UIs, you'll need to
do two things:
- Start the subject UI server running on the GP system. You can
use the gpUIServerTest
tool to start a test server.
- Start a remote UI client locally or from remote terminal (see
below).
If everything works, when you connect to the server from the client,
the client requests a subject UI block from the server and starts it.
In the server side (in this case the UI server tester) will start a
UI tester to test the
subject UI.
There are several ways to start the subject UI. You can run it
locally or remotedly with either an applet
or a application.
To run subject UIs on remote terminals, the terminal must have Java
support and access to GuineaPig system's java class files either from
webserver (applet) or locally Java classes added to Java's class
path.
You have to create a GP Java archive to be able to
use remote terminals (see instructions for creating the archive
below). The archive (guinea.jar) contains the Java class files the GP
system uses. Copy this archive to the webserver (when using applets)
or to remote terminal (application).
Making the guineapig Java class files archive (jar)
To create a JAR archive of the GuineaPig Java class files, go to the
GuineaPig directory and create archive with the jar
command:
cd /usr/GuineaPig/classes
jar -cf <DIR>/guinea.jar guinea
If Java executables are not in your path, use
/usr/java/bin/jar command instead of just
jar. The <DIR> should be
replaced with the name of the directory where you want to create the
archive file guinea.jar.
Note that if you apply patches to the GuineaPig that replace some of
the Java class files, you have to re-create the JAR file after
any patches have been applied.
Running applet client
You can use the
applet client
either locally or remotedly. In priciple you can use any java-capable
web-browser as the client. Your client should support Java 1.1.6 to
work. SGI's Java appletviewer and Netscape 4.06 as well as Netscape
4.06 have seemed to work.
See example demo page
to start subject UI applet.
Running subject UI client
The remote UI Client
is a Java application that connects to a specific server address and
starts the subject UI.
Last modified: Mon Nov 1 14:35:46 EET 1999