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
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


This chapter focused on the different forms of JSF validation, because it is extremely important for the user to know if the data has been entered correctly. We examined the two forms of validation methods: client side and server side. We looked at the FacesMessage instances and learnt how to create them. Afterwards, we proceeded to cover validation from the server side, particularly, the Bean Validation framework in Java EE 7. We then took an extended developer journey into JSF validation. We learnt how to create custom validators and converters. We also learnt how to perform immediate mode validation with AJAX and understood the partial context life cycle. Finally, we spent a good deal of time on handling views and passing information from the page view to the controller. Along the way, we addressed the JSF flow scope and page redirection.

In the next chapter, we will turn our attention to conversational scopes and start putting the useful process flow applications together. At...