Cometd is a message bus for Ajax web applications that allows multi channel messaging between client and server - and more importantly - between server and client. The paradigm is publish/subscribe to named channels.
To run the demo:
and point your browser at http://localhost:8080. There is the usual comet chat room demo, a fridge magnet demo
and a combined demo with both magnets and chat room. The later is interesting as the chat room is implemented with prototype and behaviour and the magnets are implemented with dojo and the collaborate to use the same messaging infrastructure - thus avoiding the 2 connection limit to the server.
The jetty implementation has extra features beyond the protocol:
- A declaritive filter/security mechanism
- detection for multi-window
hassle gregw(at)mortbay.com for more details (and to write them up here).