O'Reilly logo

Essential App Engine: Building High-Performance Java Apps with Google App Engine by Adriaan de Jonge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required