Skip navigation.

Installation

Installation

Download the CometD distribution from here.

Then unpack the distribution:

$ tar zxvf cometd-<version>.tgz
$ cd cometd-<version>/

You are done.

If you want to try out the CometD demo, follow these commands:

$ cd cometd-<version>/
$ cd cometd-demo
$ mvn jetty:deploy-war

then point your browser at http://localhost:8080.

The CometD demo contains:

  • Two full chat applications (one developed with Dojo, one with jQuery)
  • Examples of the Bayeux extensions such as message acknowledgement, reload, timesync and timestamp
  • An example of how to echo private messages to a particular client only
  • Clustered Auction demo (using the Oort clustering)