Code for Queueing Techniques in Java
Mike Criscolo, September 1997

The sample code is split into two directories:

CentQ - the centralized queue code
DistQ - the distributed queue code

Under the CentQ directory is another directory containing
the modified PrimaryThread.java code for demonstrating
how a long request and multiple short requests are
handled by the system.

Under the DistQ directory is another directory containing
the modified PrimaryThread.java code for overloading a
single thread with long requests, demonstrating how one
thread can be working constantly, while others wait for
work.

The 'buildme.bat' file will build the classes as
appropriate for each directory.  You will need to change
the PATH environment variable to correspond to the location
of the JDK on your system.  It will also modify the
CLASSPATH variable.

After the code is built, type 'java PrimaryThread' to run
the example.  The code has been run using the JDKs for 1.0.2,
1.1.2 and 1.1.3.