The applet uses the Ptolemy II Discrete Event (DE) domain to illustrate two ways to implement M/M/1 queues.