Apr 20
Screencast of new JSF AJAX components:
Ed Burns, spec lead for JSF, has made a set of screencasts for the recently released Java Blueprints components focusing on AJAX. These components leverage the Dojo Toolkit and make use of the JSF PhaseListener approach for serving up JavaScript files and handling AJAX requests on the JSF server. A PhaseListener, for JSF, is much like a Servlet Filter acting on a JSF request, but it adds the benefit of full access to the JSF lifecycle, including components, events, and other JSF artifacts. This is one of the areas where JSF offers quite a bit of power, because supporting AJAX is simply a matter of managing a request’s lifecycle events instead of inserting extra components to manage different kinds of functionality, which also means that AJAX support for JSF components can work regardless of the JSF implementation.