Chapter 2. JavaServer Faces Lifecycle
"No two people on earth are alike, and it's got to be that way in music or it isn't music" | ||
--Billie Holiday |
Java has been a complete success in the server side for a long time: since the year 2000. Businesses have trusted the JVM, Java programming language, and abundance of frameworks as their platform of choice for enterprise software. So, are we correct in continuing to put our trust in the JVM as digital web engineers? I think the answer to that question, and because you are reading this book, is yes!
This chapter is an expansive overview of the JavaServer Faces (JSF) concepts. We will start with the history and purpose of JSF and how it relates to the fundamental design pattern: the Model-View-Controller (MVC). We will explore the life cycle concepts in JSF, which is one of the key concepts that separates it from the other Java web application frameworks. Moreover, we will examine some JSF code, including...