Chapter 19. Spring and AJAX

AJAX (Asynchronous JavaScript and XML) is a new approach to web application development that uses client-side scripting to exchange data with the web server. As a result, web pages are dynamically updated without interrupting the user interaction flow by a full page refresh. With AJAX, developers can create rich browser-based web applications that look and behave more like native desktop applications.

AJAX is not one technology but a combination of several:

  • XHTML and Cascading Style Sheets (CSS)

  • Document Object Model (DOM)

  • XML (and XSLT)

  • XMLHttpRequest (XHR)

  • JavaScript

Unlike many of the approaches used in the past, AJAX works in most modern browsers and doesn't require any proprietary software or hardware. In fact, one of ...

Get Pro Spring 2.5 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.