Below, you can find a collection of documented sample aglets with full source code:
Writer is an aglet-based implementation of the "write" application in Unix. It consists of two aglets, one of them is stationary (Writer) and the other is mobile (WriterSlave). The latter is dispatched by Writer to a remote location, where it will pops up a window and displays a message from the Writer aglet. Finally, the WriterSlave returns to Writer and delivers an acknowledgment from the reader of the message.
Finger is an aglet-based implementation of the more well known "finger" application in Unix. It consists of two aglets, one of them is stationary (Finger) and the other mobile (FingerSlave). The latter is dispatched by Finger to a remote location where it will retrieve local user information. Having gathered the information, FingerSlave returns to Finger and delivers the information.
Watcher is an aglet-based implementation of a utility for watching a file update status. It consists of two aglets, one stationary (Watcher) and one mobile(WatcherNotifier). The latter is dispatched by Watcher to a remote location where it stays and keeps watching of a file being updated. WatcherNotifier usually sleeps and periodically gets up and checks if the file was updated or not. Whenever the file is updated, the WatcherNotifier notifies the Watcher.
Searcher is an aglet-based implementation of a utility for files that contains an specified string in its file name. It consists of two aglets, one stationary (Searcher) and one mobile (SearcherSlave). The latter is dispatched by Searcher to visit (sequentially) multiple remote locations, looking for files whose file name contains a specific string. Having gathered all the file names, the SearcherSlave finally returns to the Searcher and displays these file names.
Transfer is an aglet-based implementation of a utility for transferring a remote file. It consists of two aglets, one stationary (Transfer) and one mobile (TransferSlave). The latter is dispatched by Transfer to a remote location where it will make a copy of the file. Finally, TransferSlave returns to Transfer and delivers this copy.