Book Image

Digital Java EE 7 Web Application Development

By : Peter Pilgrim
Book Image

Digital Java EE 7 Web Application Development

By: Peter Pilgrim

Overview of this book

Digital Java EE 7 presents you with an opportunity to master writing great enterprise web software using the Java EE 7 platform with the modern approach to digital service standards. You will first learn about the lifecycle and phases of JavaServer Faces, become completely proficient with different validation models and schemes, and then find out exactly how to apply AJAX validations and requests. Next, you will touch base with JSF in order to understand how relevant CDI scopes work. Later, you’ll discover how to add finesse and pizzazz to your digital work in order to improve the design of your e-commerce application. Finally, you will deep dive into AngularJS development in order to keep pace with other popular choices, such as Backbone and Ember JS. By the end of this thorough guide, you’ll have polished your skills on the Digital Java EE 7 platform and be able to creat exiting web application.
Table of Contents (21 chapters)
Digital Java EE 7 Web Application Development
About the Author
About the Reviewers

Chapter 3. Building JSF Forms


"It's the whole thing. The way something actually works on so many different levels. Ultimately, of course, design defines so much of our experiences."

 --Sir Jony Ive, Senior Vice President of Design, Apple USA

JavaServer Faces is an example of a component-oriented web application framework, as opposed to Java EE 8 MVC (See Chapter 9, Java EE MVC Framework), WebWork, or Apache Struts, which are known as request-oriented web application frameworks.

A request-oriented framework is one where the information flow is from the web request to the response. Such frameworks provide you with an ability and structure above the javax.servlet.http.HttpServletRequest and javax.servlet.http.HttpServletResponse objects, but there are no special user interface components. With additional help, the application user must program the mapping of the parameters and attributes to the data entity models. The developer, therefore, has to write parsing logic.

It is important to understand...