Ajax

The Ajax Requests area represent individual Ajax requests that can be fired by clicking the green images. Each click fires a
jsf.ajaxRequest. A JSF managed bean on the server causes a random sleep time (4 seconds or less) to simulate
different processing times for each request. The JSF 2.0 Ajax request queue on the client uses the observer pattern to "record" queue events as they happen.
The demo JavaScript on the client includes a function that subscribes to these queue events, so the UI is updated as queue events happen.
Just click on any sequence of green images (any number, any order) and you will see that each request is handled in the order they were fired.