Tuesday, 19 March 2013

RichFaces architecture

Today i would like to share about Rich Faces Architecture.
Rich Faces architecture is really interesting.
Rich Faces architecture:
The architecture of Rich Faces consists of an Ajax filter, Ajax action components, Ajax containers, and a JavaScript engine.
Ajax filter – In order get all benefits of Rich Faces, a developer should register a filter in the (web.xml) file of the application. The filter recognizes multiple request types.
Ajax action components – [AjaxCommandButton], [AjaxCommandLink], [AjaxPoll] and [AjaxSupport] and other action components can be used to send Ajax requests from the client side.
Ajax containers – AjaxContainer is an interface that describes an area on a JSF page that should be decoded during an Ajax request. AjaxViewRoot and AjaxRegion are implementations of this interface.
JavaScript engine – the Rich Faces JavaScript engine runs on the client-side. It updates different areas on a JSF page based on the information from the Ajax response. The JavaScript engine provides an API so developers do not need to create their own JavaScript functionality.

No comments:

Post a Comment