TOC PREV NEXT INDEX

Running with Ajax Push


You can follow the same procedure as noted before to build and deploy the modified version of the application. Now if you point two browsers at the application:

http://localhost:8080/easyajaxpush/
 

Clicking the buttons for the application-scoped counter should provide a richer experience. Updates from interaction in one browser that result in a change to the application counter are now pushed out to other active users. In other words, all browsers should notice when the application counter is modified. It's left as an exercise for the reader to enhance the application so that the session counter is updated when using two tabs/windows from the same browser.

And there you have it. Using the SessionRenderer API is an easy and straightforward way to add collaborative features to your ICEfaces applications.



Copyright 2005-2009. ICEsoft Technologies, Inc.
TOC PREV NEXT INDEX