Using the server-push technique called Comet
The AppJet protocol stack includes the org.cometd server component which implements the server-side Bayeux API. On the client-side there are implementations and bindings for the Dojo toolkit and the JQuery toolkit. Having all these components on-board makes JGate an ideal prototyping platform for server-push experiments.
I reactivated the comet-counter sample and the required libraries written by David and J.D. from AppJet Inc. The sample is now online and includes the complete source code as with every AppJet application. These server-push experiments are kind of fascinating and where the foundation for AppJet Inc's later EtherPad platform. It is now being merged with Google's Wave and also available as open source.
See: http://comet-counter.jgate.de
Soundtrack: "Transitions I" by soundprank (CC) Attribution (3.0)