Authoring JSF pages in pure Java
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQkz_aEyFt8uxt0Ui6lIhVnwf40aczM8JHg_qaYG0gXO8HV7CsBf15ELz7iIiFr9F_GbveRZqPVR5ce7RXUQJzitK5lHxjFQe65b5f0wKBsNqTwrZiwyIGySHzi87lFRWsljrmY-sSCI-9/s400/intro3.png)
JSF is well known as a server side web framework to build a web application's UI with the help of components. For the overwhelming majority of users those components are represented by the tags one uses to compose a page, be it via JSP or Facelets. The following is a typical example of a page authored with Facelets: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"> <h:body> #{backingBean.hello} <h:form> <h:inputText value="#{backingBean.name}" /> <h:commandButton value="Say Hello" action="#{backingBean.sayHello}" /> </h:form> </h:body> </html> This may give the impression that JSF components *are* the tags shown above, and thus that JSF is necessarily about tags and XML. That is however not true. JSF has always had a clear separation between th