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


  1. Verify that flow-scoped beans are unique with multiple web browsers and tab frames. Modify the debugClassName() method in the first flow class, DigitalFlow to report the value of java.lang.System.identityHashCode() as well as the class name. What is the result?

  2. Everyone practically knows how to make a simple breakfast of scrambled eggs; write down the steps for doing so. What processes do you need? What inputs do you need? We know the results of the tasks; are there other outputs?

  3. Develop a simple Faces Flow application that takes contact details from a user. Think of the number of properties that you will need. Do you need all of them? (Hint: Name, address, e-mail, and telephone number will do for now.)

  4. Take the contact details Faces Flow application from the previous question and now persist that entity record data to a database.

  5. Now split the contact detail single flow application into separate flows. Set up the address part as a nested flow. (Hint: You can pass the entity record...