Starting the Ray-Tracing Example from the Command Line


Before Starting

To start the ray-tracing example from the command line, you need to have the following services running:

For instructions on how to start these services, please refer to:

The ray-tracing example has two components: (1) a task generator that renders results produced by (2) a generic worker that pulls the tasks from a space, performs them, and puts the result back into the space.

[ Back To Top ]


Edit the Example's HTML Files

There are two HTML files you will need to edit:

Where /files was the directory into which you extracted the Jini system software and the Outrigger software distributions. In both of the HTML files, replace the value of the host param with the name of the system on which you will run the example. For instance, if your system is named myhost.sun.com, replace value="cocolat.east" with myhost.sun.com.

[ Back To Top ]


Command-Line Usage

The command-line usage for starting the task-generating applet is: The command-line usage for starting the worker applet is:

[ Back To Top ]


Start the Two Applets

These command lines are examples of how to run the ray-tracing applets, using an RMI registry on the system myhost.sun.com, and using a space named JavaSpaces:
These command lines are examples of how to run the ray-tracing applets, using the Jini Lookup service on the system myhost.sun.com, and using a space named JavaSpaces:

[ Back To Top ]


Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.