Chapter 1. What Are Comet and Reverse Ajax?

The term "Comet" was coined by Alex Russell of the Dojo project to describe exchanges between a client and a server in which the server, rather than the client, initiates the contact. Joe Walker of the Direct Web Remoting (DWR) project refers to a similar mechanism as "Reverse Ajax." Much like when the term "Ajax" was coined in 2005, the name "Comet" has served as a rallying point around a number of previously disconnected technological projects, such as the nonblocking I/O introduced into Java in 2002, message queue technologies, and, further back, HTTP 1.1's persistent connections and the push technologies of the late 1990s.

These technologies have in common an interest in initiating communication between ...

Get Comet and Reverse Ajax: The Next-Generation Ajax 2.0 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.