Using Ajax effectively
The Ajax4jsf tag library provides a number of powerful Ajax components that can significantly enhance the interactivity and performance of the user interface for a JSF application. One of the goals of Ajax is to enable more fine-grained communication between the browser and the web server, allowing the application to make incremental view updates without the overhead of a full-page reload for each minor change.
As Ajax-based interactivity can increase the "chattiness" of a web page, the developers of the Ajax4jsf library made sure to include some performance-tuning features in the component library. Let's examine some of the key features of Ajax4jsf and discuss how we can use Ajax effectively in combination with RichFaces and Seam to improve the end user experience for our application.
Understanding how Ajax4jsf works
Ajax4jsf is a powerful Ajax implementation for JSF that includes a number of advanced features. Before diving into the details, let's review the Ajax concept...