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 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.