Handling a web service in Ajax

Asynchronous JavaScript and XML (Ajax) is a web development technique used on the client side to create asynchronous web applications. In a typical web application, every time a web request is fired as a response, we get a full web page loaded as a response; however, in an Ajax-based asynchronous web application, web pages are updated asynchronously by polling small data with the server behind the scenes. This means that using Ajax, it is possible to update parts of a web page without reloading the entire web page. With Ajax, web applications can send data to and retrieve data from a server asynchronously. The asynchronous aspect of Ajax allows us to write code that can send a request to a server and handle a server ...

Get Spring MVC Beginner’s Guide 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.