aUnit 0.1: Unit Testing Aspects “The World is Flat”
Apr 14

Ajax in the J2EE Blueprints

Tech Add comments

The Ajax explosion has hit the Sun Blueprints team. They have released some early thoughts on new functionality for the blueprints catalog using Ajax with J2EE.

AJAX uses JavaScript in an HTML page to make asynchronous calls to the server from which the page loaded and fetch an XML document from a server-side component asynchronously. Upon completion of a request JavaScript may update or modify the Document Object Model (DOM) of the HTML page based on the resulting XML document. Only the affected portions of the HTML DOM are are re-rendered in the HTML page.

The term Asynchronous JavaScript and XML has emerged recently to describe this interaction model.

For a detailed explanation of AJAX, please see Using AJAX with the J2EE platform. If you are new to AJAX, we recommend that you read that document before reading the following solutions.

Note that AJAX is an emerging technology, and hence the solutions presented here are likely to change as best practices emerge.

This category presents some solutions for using AJAX when developing Web applications with the J2EE platform:

  • Auto-Complete: Provide a simplifed means of data navigation as
    the user enters a request in an HTML form.
  • Progress Bar: Track the progress on the client of a server-side
    operation without refreshing the HTML page.
  • Realtime Form Validation: Perform server-side validation of form data in an HTML page without refreshes.
  • Refreshing Data: Provide up to date data to the an HTML page.

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'ajax'