image

CHAPTER

6

JavaServer Faces

In the previous chapter, we looked at JavaServer Pages (JSP), which continues to be a popular technology for building web applications, but suffers from some major drawbacks of being rather unstructured, prone to chaotic coding, and difficult to maintain. So in this chapter, we will look at JavaServer Faces (JSF), which is the preferred web technology for Java EE applications today. It offers a neat and feature-rich way of building server-side web applications. The key capabilities of JSF are the UI component model, event handling, validation framework, structured page navigation, and internationalization.

From JSP to ...

Get Java EE Applications on Oracle Java Cloud: now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.