Skip navigation.

Bayeux Cometd Documentation

Introduction,welcome

Cometd is a project by the Dojo Foundation to produce a specification (Bayeux) and a set of implementations of that specification (Cometd).

Bayeux Overview

The primary purpose of Bayeux is to implement responsive user interactions for web clients using Ajax and the server-push technique called Comet.

Initially the Bayeux specification provides only a protocol definition, but eventually it is planned to include standardized APIs for servers and clients as part of the specification.
Bayeux Protocol

The Bayeux Specification is written in RFC style and is aimed at defining the interoperability aspects of cometd project. The protocol itself is open to extension and encourages multiple transport implementations.

Bayeux APIs

There is currently a proposed Java server side dojox.cometd API. It has been implemented by the Jetty server and is under review/consideration by other java servers.

Cometd Overview

The cometd project includes implementations of Bayeux in several languages, toolkits and servers. Third party implementations of Bayeux also exist, and are not strictly part of the cometd project, however for completeness the third party implementations are linked off this document where appropriate.