what is Ajax, Why use Ajax and How to implement in Java
Some use for Ajax interactions are following: 1. Real time form data validation e.g. UserID, EmailID, Serial No, Postal Code etc. 2. Load on demand e.g. fetch data in background, allowing browser load page quickly 3. Sophisticated user interface controls and effects e.g. control such as calendar, trees, menus, data tables ,rich text editor. 4. Refreshing data and server path e.g. such as scores, stock quotes, weather, or application specific data. 5. Partial submit 6. Page as an application e.g. single page application that look and feels like desktop application. XMLHttpRequest: A JavaScript object, it allow client-side script to perform HTTP Request, and it will parse an xml server response. Ajax stands for asynchronous; when you send that HTTP request you don’t want the browser to hand around waiting for the server to respond. Instead, you want to continue reading to the user’s interaction with the page and deal with the server’s response when it eventu...