Developing JavaServer Faces (JSF) Web Applications
Context
Switching from pure JSP and Servlet technology to JSF development is not difficult. Developing Web UI using the JSF technology involves two aspects:
-
Writing the Web pages - You develop the JSF pages in standard JSP files. This task involves the standard description of the page layout, which can be handled by a Web designer, for example.
More information: Creating the JSF UI Components .
-
Developing the underlying logic - This involves developing Java classes called managed beans, which will provide the underlying logic of the Web pages. This can be handled by a Java developer.
More information: Managed Beans .
The rest of the topics in this section describe in parallel both aspects of creating the corresponding JSF component.
Procedure
-
Create a Dynamic Web Project to wrap the JSP application.
More information: Creating Dynamic Web Projects .
-
Develop all required JSF components.
More information:
-
Create an Enterprise Application Project and reference the Dynamic Web Project containing the JSF application.
More information: Creating Enterprise Application Projects .
-
Deploy the Enterprise Application Project.
More information: Building, Publishing and Removing Published Java EE Applications