These demonstrations show the cometd java server running against the dojox and jquery javascript clients
dojox:
jquery:
chat & ack
echo private messages
timesync extension
reload extension
chat & XD