Getting Started

Note: The sample programs here does not work with ManualSerialization. To run your first sample aglet on these platform, please read about manual serialization in the release note.

Launch Your First Aglet

"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.

Step 1: Using a Single Aglet Server

Step 2: Using Multiple Aglet Servers

  1. Run two aglet servers




  2. Start a second aglet server (with a second Tahiti), running simultaneously with the first one you have already started:
    Run the Second Aglet Server
    Windows 95/NT agletsd -port 500
    Solaris AIX agletsd -port 10000
  3. Send messages between the two aglet servers




  4. Try again the Writer aglet from your first aglet server. However, this time, try to send the aglet with the message to the second aglet server.

Step 3: Using Remote Servers

Learning Sample Aglets