A method for handling external events within a server-side program running
within a virtual machine can include beginning a first process within the
server-side program and responsively launching a first event monitor. The
method can broadcast a virtual machine event responsive to an external
event occurring outside the virtual machine. The first event monitor can
detecting the virtual machine and invoke a first program response.