Cometd is a protocol for pushing data to webbrowsers (so that browsers don't have to poll servers).
Jetty is a server that implements jetty.
http://cometdproject.dojotoolkit.org/documentation/cometd-jetty/quick-start
To get started
svn co http://svn.cometd.com/trunk cometd
cd cometdnow open two browsers to localhost:8080 and run some nice clear demos, based on the behavior toolkit.
mvn
cd cometd-jetty
mvn
cd demo
mvn jetty:run-war
And it works. That never happens.