Java Server faces (JSF) is an MVC framework that facilitates the development of web applications.
It allows a clear separation between the presentation layer and the business layer. It is based on:
– A generic servlet to handles client requests and theirs mapping with the presentation layer.
– Reusable UI components with the possibility of extending a component or create a new one.
JSF 2 framework is simple to use; it makes the business logic very easy to implement(navigation, validation, …).
In the following, we will see many tutorials, examples and tips to cover all JSF 2 features and functionalities.
- JSF 2 Hello World using Maven : Building our first JSF 2 web application using Maven.
- JSF 2 Hello World : Create the first JSF 2 Hello World application.
- JSF 2 AJAX Example : Using AJAX in JSF 2
- JSF 2 Managed Beans : How to define and configure a managed bean in JSF 2 application.
- JSF 2 Managed Bean Injection : How to inject a managed bean into the property of another managed bean.
- JSF 2 Implicit Navigation : How to implement implicit navigation.
- JSF 2 Navigation Rules Example : How to implement navigation rules using faces-config file and annotations.
- JSF 2 InputText Example : Using <h:inputText ../> to add an input text.
- JSF2 Password Field Example : Using <h:inputSecret ../> to add a password field.
- JSF2 CommandButton Example : Add a button in JSF page using the tag <h:commandButton ../>