JSF and AJAX

JSF and AJAX.

AJAX and JSF together makes a rich web application. AJAX usage is focused on creating richer user interfaces. The UI components in JSF and MyFaces were originally developed using HTML. AJAX-enabled components can easily be added to JSF-based User Interfaces, as JSF supports the output formats at multiple levels. The support for AJAX for the implementation of UI logic that is to run on the client and also on the server; is provided by JSF 2.0 specification. When the Java Script in the browser is disabled, JSF 2.0 provides the support for degradation.

JSF and AJAX.

1. In situations where in you need to use a validation and are confused whether JavaScript should be used or a JSF build-in for validation or some kind of hybrid approach should be used, the answer is AJAX.

2. The key point of AJAX is that it's an asynchronous HTTP request and a partial rendering.

3. In other words, users never see the whole page refresh or reload.

4. In the validation function use-case, the JSF managed bean will handle the validation action and rules on the server side; AJAX will help with the on-demand asynchronous request and partial rendering of the validation message when a validation error occurs.
JSF Ajax components
JSF Ajax components - The custom web tier components for JSF can be developed using AJAX along with JSF...
Explain how JSF supports AJAX
Explain how JSF supports AJAX - A JSF component supports the client-side AJAX Java Script and processes the AJAX requests...
JSF Architecture
JSF Architecture - JSF developed based on MVC design pattern. Therefore, the applications can be scaled better and well maintained..
Post your comment