AJAX is a very powerful tool to the web world and adds another dimension to the eCommerce pages.
I have used this mainly:
1. For interactive or dynamic interfaces on the web.
2. To bypass the akamai cached pages for dynamic content. If you are not using partial caching for akamai pages. It is a very powerful tool for pricing\ATP Messaging in product and category pages.
3. For performance improvements. e.g. Accessories in a cart. As these events can be asynchronous and does not have to wait for the whole page to load up.
Out of the box DOJO is provided and I have used RICO for several years, when we did the comparisons at that time, it was strictly for performance reasons that RICO was chosen. And JQUERY seems to be the preferred choice now a days.
1. Replace the complete DIV\SPAN as AJAX response.
2. Use JSON in the Ajax response to replace selected HTML elements.
Things to do for an Ajax call to work.
1. Register the Ajax event.
2. Write the custom controller command for the Ajax and register command and response in struts-config-ext.xml
3. Ajax response JSP to replace the HTML entity.I have found it particularly interesting to use AJAX for performance for min-carts\Accessories and other places where the complete page reload can be avoided.