-----------------------------------------------------------------------

	"@(#)README 1.4 99/03/23 SMI"

	Copyright (c) 03/23/99, by Sun Microsystems, Inc.
	All rights reserved.

-----------------------------------------------------------------------

			Thread management Example
			=========================


-----------------------------------------------------------------------
1. Example overview
-----------------------------------------------------------------------
This example shows how to use the thread management service.

The current directory contains the following source files:
   * Agent.java:
 	- Implements a basic agent application.
	- Initializes the framework using the ThreadMgtByThreadGroup 
	  thread allocator service.
	- Adds HTML, HTTP and RMI adaptors to the framework.

   * ThreadMgtByThreadGroup.java:
 	- Implements the thread allocator interface.


-----------------------------------------------------------------------
2. Building and running the example
-----------------------------------------------------------------------
To build the thread management example, copy the example source files to 
your working directory and type the following commands:

   cd <WORKING_DIR>

   javac -d . ThreadMgtByThreadGroup.java

   mogen ThreadMgtByThreadGroup

   javac -d . *.java


To run the version of the example you have just built, type the
following commands:

   # Make sure that no agents are already running 
   # and start the agent:

   java Agent
