![]() |
Server-initiated Rendering
Asynchronous update mode in ICEfaces supports server-initiated presentation updates driven from application logic. In ICEfaces, this is achieved by causing the JSF lifecycle render phase to execute in reaction to some state change within the application. The session-scoped PersistentFacesState provides this API, and facilitates low-level server-initiated rendering on a per-client basis. While this low-level rendering mechanism looks simple to use, there are a number of potential pitfalls associated with it related to concurrency/deadlock, performance, and scalability. In order to overcome these potential pitfalls, ICEfaces provides a high-performance, scalable Server-initiated Rendering API, and strongly discourages the use of the low-level render call.
The server-initiated rendering architecture is illustrated in Figure 8 below.
The key elements of the architecture are:
For detailed information, see Server-initiated Rendering API .
|
Copyright 2005-2006. ICEsoft Technologies, Inc. http://www.icesoft.com |