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

Exercises


Here are the questions for this chapter:

  1. Where else in computer science might one find the Model-View-Controller design pattern?

  2. Why do you think that keen computer scientists and architects wanted to separate business logic from the presentation view code?

  3. Consider a situation where you have been contracted by the municipal government for a local territory.

  4. You have been asked to write an electoral roll web application for the voters to replace the traditional paper trail. Instead of sending official letters to the citizens and waiting to receive the filled-in forms, the citizens will be able to register for the electoral roll online. What constitutes the Model-View-Controller in this application?

  5. What parts of the JSF life cycle map to the Model-View-Controller pattern?

  6. Describe when and where the framework will encounter the Restore View phase.

  7. Describe the process of an HTML form submission. What happens in JSF transferring the contents of an HTML form to the Java POJOS?

  8. When a customer...