It works fine, waking up and sending ajax messages to a servlet that sends back to the requester.
However, I am not sure how to maintain a session variable with the servlet for each client.
Since there is never any page refreshes (as everything is done with the ajax message and Dom writing), how can I
persistently save a String for each client? There is one JSF page, but can this servlet write to a hidden
field on that page for each client, or can it access the session created by the JSF page and save
the field as a session attribute, with each client session?