A method of managing events in a pervasive computing client device having a
browser. Upon loading of a page in a browser window, the browser issues an
outstanding HTTP request to a specified port. Thereafter, upon generation
of an asynchronous event on another port, the routine identifies an
appropriate message and builds a response to the outstanding HTTP request.
The response, which includes the message, is then delivered to the
specified port, whereupon the browser renders the message to the user.
Thereafter, the browser automatically re-issues the outstanding HTTP
request and waits for another asynchronous event.