International Journal of Management, IT and Engineering
  • Year: 2019
  • Volume: 9
  • Issue: 6

XHTML transformation to JSF Component Tree

  • Author:
  • Vijay Kumar Pandey
  • Total Page Count: 10
  • Page Number: 440 to 449

Director of Technology Solutions, Intueor Consulting, Inc. Irvine, CA-USA, pandey@intueor.com

Online published on 24 October, 2019.

Abstract

Java Server Faces (JSF) is a component-oriented framework to manage html-basedrequest and response. The current version of JSF 2.3 included as part of Java Enterprise Edition (JEE 8) has the default view technology of Facelet. Facelet is the java object representation for the XHTML (Extensible HyperText Markup Language) in the JSF context. Enterprise project teams building JSF based system typically write the view layer code in an XHTML format. XHTML are physical files, which are processed by the JSF run time engine to convert it into a runtime java object as Facelet and which are then transformed to component tree based on the various tag handlers associated with the xml tags present in the xhtml file. This paperlays down the ground work for the complex processing behind the transformation of xhtml to component tree which can help software architects and developers to better understand this processand helping them to design and maintain their JSF based system in an effective manner. This document assumes that the reader has a basic understanding of JSF.

Keywords

XHTML, JSF Component Tree, VDL (View Declaration Language), CDI (Context Dependency Injection), Facelet, UIViewRoot, JSF Lifecycle