TOC PREV NEXT INDEX

Direct-to-DOM Rendering


Direct-to-DOM (D2D) rendering is just what it sounds like-the ability to render a JSF component tree directly into a W3C standard DOM data structure. ICEfaces provides a Direct-to-DOM RenderKit for the standard HTML basic components available in JSF. The act of rendering a component tree into a DOM via the ICEfaces Direct-to-DOM RenderKit is illustrated in Figure 3 .

Figure 3 Direct-to-DOM Rendering



The way this basic Direct-to-DOM mechanism is deployed in an ICEfaces application involves server-side caching of the DOM and an Ajax bridge that transmits DOM changes across the network to the client browser where the changes are reassembled in the browser DOM. This process is illustrated in Figure 4.

Figure 4 Direct-to-DOM Rendering Via Ajax Bridge



When the ICEfaces JAR is included in your JSF application, the Direct-to-DOM RenderKit is automatically configured into the application. There are no other considerations from the developer perspective. Direct-to-DOM rendering is completely transparent in the development process.



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