Java Platform, Enterprise Edition (Java EE) 8 The Java EE Tutorial

## 13 Using Ajax with JavaServer Faces Technology

This chapter describes using Ajax functionality in JavaServer Faces web applications. Ajax is an acronym for Asynchronous JavaScript and XML, a group of web technologies that enable creation of dynamic and highly responsive web applications. Using Ajax, web applications can retrieve content from the server without interfering with the display on the client. In the Java EE platform, JavaServer Faces technology provides built-in support for Ajax.

The following topics are addressed here:

- Overview of Ajax

- Using Ajax Functionality with JavaServer Faces Technology

- Using Ajax with Facelets

- Sending an Ajax Request

- Monitoring Events on the Client

- Handling Errors

- Receiving an Ajax Response

- Ajax Request Lifecycle

- Grouping of Components

- Loading JavaScript as a Resource

- The ajaxguessnumber Example Application

- Further Information about Ajax in JavaServer Faces Technology

Copyright © 2017, Oracle and/or its affiliates. All rights reserved.