Aglets Utilities and Samples I am including several basic aglets that can be used for samples or testing specific AWB features. The main areas covered are: -sleep on a thread -message dispatching -DNS/Hostname lookup -ServerApp context dispatch I have not included all the features that are needed for a fully functioning application. For example - there are no mobility listeners - so the samples won't handle a dispatch properly. I also have not tested them under AWB1.0.3 - since I have been working with AWB1.1beta. The bulk of the testing has been done on a Linux box- but I have also run pieces of the code on NT as well. Here is a basic outline of the modules: BaseUtil.java -basic debug routines -do not inherit or extend any aglets classes -can be used standalone MDAglet.java -basic method dispatcher that extends the portal BaseAglet class -this class hides the method dispatching from the sub classes Sleep.java -sample aglet that listens for messages and has a basic polling routine on the main thread -will accept messages on its proxy and use the method dispatcher to invoke them -will print basic debug info when the dialog button is used from Tahiti TestSleep.java -sample test driver for the Sleep Aglet -calls Sleep routines in the run thread -builds a message to the Sleep aglet when the Tahiti Dialog is used GetHost.java -performs a simple call to get a hostname for the aglet ServerApp.java -Updated sample from the AWB that creates a context and then dispatches an aglet to a Tahiti context The current directory for the samples is: $(AGLETS_HOME)/public/aglets/portal/util To install the samples- unpack the jar file in that directory. You also need the aglets portal package and the examples shipped with the AWB installed. If you have any questions - please let me know. -bill xbill@xbill.com