Chapter 9: Adding Dynamic Interactions Using AJAX

This chapter discusses how to add interactions to a page or web application that depends on server interaction. The chapter starts with classic AJAX (Asynchronous JavaScript and XML) calls in which the client initiates an asynchronous connection to the server and the server responds as quickly as possible. After that, the Channel API is introduced. Using the Channel API, a connection between the browser and the Google App Engine is kept open for a longer time, allowing the server to notify clients quickly when events occur. Both the client side and the server side of the Channel API are discussed.

Using Classic AJAX without Frameworks

Chapter 8, “Adding Static Interactions Using JavaScript,” explained ...

Get Essential App Engine: Building High-Performance Java Apps with Google App Engine now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.