AJAX is a comfortable fit because, using Java Enterprise Edition the following tasks can be performed:
- AJAX client pages can be generated to server incoming AJAX requests
- Server side state is managed for AJAX clients
- AJAX clients can be connected to enterprise resources.
Ajax is a set of client side technologies that allows asynchronous communication between client and web server. In synchronous communication, complete round trip happens with each request/response action event when small data of the page to be refreshed. Ajax has solved this problem of posting entire information every time through asynchronous communication.
XmlHttpRequest is the basic fundamental behind Ajax. This allows browser to communicate with server without making post backs.