These demonstrations show the cometd java server running against the dojox and jquery javascript clients
dojox: jquery: