Comet and Reverse Ajax: The Next-Generation Ajax 2.0

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

One of the most basic laws of a web application is that the client, not the server, must initiate any communication between the two. There are a number of common–use cases where, ideally, the server would like to talk to the client—dashboards and monitoring apps, chat rooms and other collaborations, and progress reports on long–running processes. Comet (a.k.a. Reverse Ajax) provides a mechanism for enabling this. Comet is moderately complex to implement. But this practical, hands–on book gets you going.

  • In Part 1 of this book, we start by examining the use cases, and look at the simple alternatives to Comet and how far they can satisfy your needs. In some situations, though, only Comet will do.
  • In Part 2, we demonstrate how to set up and run a Comet–based application.

With this book, be a part of the next generation, Ajax 2.0.

Author(s): Dave Crane, Phil McCarthy (auth.)
Edition: 1
Publisher: Apress
Year: 2009

Language: English
Pages: 100
Tags: Programming Techniques

Front Matter....Pages i-v
What Are Comet and Reverse Ajax?....Pages 1-9
Simple Ways to Achieve Push....Pages 11-31
Introducing Comet....Pages 33-51
Comet the Easy Way....Pages 53-70
Scaling Comet in Java....Pages 71-86
Introducing Bayeux....Pages 87-115
Combining Comet with CRUD....Pages 117-139
Back Matter....Pages 141-141