Chapter 2. Developing Web Applications Using JavaServer Faces 2.2

JavaServer Faces is the standard Java EE framework for building web applications. In this chapter, we will see how using JSF can simplify web application development.

The following topics will be covered in this chapter:

  • Creating a JSF project with NetBeans
  • Laying out JSF tags by taking advantage of the JSF <h:panelGrid> tag
  • Using static and dynamic navigation to define navigation between pages
  • Developing CDI named beans to encapsulate data and application logic
  • Implementing custom JSF validators
  • How to easily generate JSF 2.2 templates via NetBeans wizards
  • How to easily create JSF 2.2 composite components with NetBeans

Introduction to JavaServer Faces

Before JSF existed, most Java web applications ...

Get Java EE 7 Development with NetBeans 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.