Master the Java EE 8 and JSF (JavaServer Faces) APIs and web framework with this practical, projects-driven guide to web development. This book combines theoretical background with a practical approach by building four real-world applications. By developing these JSF web applications, you'll take a tour through the other Java EE technologies such as JPA, CDI, Security, WebSockets, and more. In __Practical JSF in Java EE 8__, you will learn to use the JavaServer Faces web framework in Java EE 8 to easily construct a web-based user interface from a set of reusable components. Next, you add JSF event handling and then link to a database, persist data, and add security and the other bells and whistles that the Java EE 8 platform has to offer. After reading this book you will have a good foundation in Java-based web development and will have increased your proficiency in sophisticated Java EE 8 web development using the JSF framework. **What You Will Learn** * Use the Java EE 8 and the JavaServer Faces APIs to build Java-based web applications through four practical real-world case studies * Process user input with JSF and the expression language by building a calculator application * Persist data using JSF templating and Java Persistence to manage an inventory of books * Create and manage an alumni database using JSF, Ajax, web services and Java EE 8's security features. **Who This Book Is For** Those new to Java EE 8 and JSF. Some prior experience with Java is recommended. Front Matter ....Pages i-xxii Front Matter ....Pages 1-1 TinyCalculator (Michael Müller)....Pages 3-20 Foundations (Michael Müller)....Pages 21-33 JavaServer Faces (Michael Müller)....Pages 35-48 Expression Language (Michael Müller)....Pages 49-55 HTML-Friendly Markup (Michael Müller)....Pages 57-60 Configuration Files (Michael Müller)....Pages 61-67 Testing with Selenium (Michael Müller)....Pages 69-82 TinyCalculator Recap (Michael Müller)....Pages 83-83 Front Matter ....Pages 85-85 Preparing for Java EE 8 (Michael Müller)....Pages 87-91 Introducing the Books Application (Michael Müller)....Pages 93-97 Starting the Books App (Michael Müller)....Pages 99-123 Java Persistence API (Michael Müller)....Pages 125-144 JSF Templating (Michael Müller)....Pages 145-151 Going International (Michael Müller)....Pages 153-194 Bean Validation (Michael Müller)....Pages 195-200 Contexts and Dependency Injection (Michael Müller)....Pages 201-204 Conversation Scope (Michael Müller)....Pages 205-210 Links (Michael Müller)....Pages 211-221 Responsive Design (Michael Müller)....Pages 223-239 Summary and Perspective (Michael Müller)....Pages 241-241 Front Matter ....Pages 243-243 Intermezzo (Michael Müller)....Pages 245-245 JSF Lifecycle Revisited (Michael Müller)....Pages 247-248 Repetitive Structures (Michael Müller)....Pages 249-262 Front Matter ....Pages 263-263 Alumni (Michael Müller)....Pages 265-274 Validation (Michael Müller)....Pages 275-293 AJAX Components (Michael Müller)....Pages 295-300 Building Composite Components (Michael Müller)....Pages 301-312 Secure Passwords (Michael Müller)....Pages 313-317 Data Facade (Michael Müller)....Pages 319-329 Activation Mail (Michael Müller)....Pages 331-341 Scheduled Tasks (Michael Müller)....Pages 343-347 Authentication and Authorization (Michael Müller)....Pages 349-377 Account Handling (Michael Müller)....Pages 379-388 Classroom Chat (WebSockets) (Michael Müller)....Pages 389-413 Changing Look and Feel (Michael Müller)....Pages 415-424 Handling Constants (Michael Müller)....Pages 425-427 Back Matter ....Pages 429-480 This is an enhanced practical, projects-driven guide to web development with the Java EE 8 and JSF (JavaServer Faces) APIs and web framework. This book combines the theoretical background with a practical approach by building 4 real world applications. By developing these JSF web applications, you'll take a tour through the other different Java EE technologies like JPA, CDI, Security, WebSockets, and more. In this book, you will learn to use the JavaServer Faces web framework in Java EE 8 to easily construct a web-based user interface (UI) from a set of reusable components. Then, you add event handling that JSF also offers and then link to a database, persist data, add security and other "bells and whistles" that Java EE 8 platform has to offer towards building complete enough running web applications. The goal of this book is to create a good foundation in Java-based web development and take you to a more sophisticated level and be proficient i n Java EE 8 web development using the JSF framework. After reading this book, it can serve as an invaluable reference with four takeaway web applications that can be used as templates for your own web projects. What you'll learn: What is in the Java EE 8 and the JavaServer Faces APIs and how to use these to build Java-based web applications through four different and practical real world case studies Process user input with JSF and the expression language by building a calculator application How to persist data using JSF templating and Java Persistence to manage a book store inventory Build and manage a music library with JSF lifecycle, BeanValidation and more Create and manage an alumni database and mailing list using JSF, AJAX, web services and Java EE 8's security features. Who is this book for: This book is for those who are new to Java EE 8, JSF. This book could be for those with some prior experience with Java EE 7 and JSF but want a refresher using latest versions of Java EE and JSF APIs. Some prior experience with Java like Java SE or core JDK is recommended though "This book combines theoretical background with a practical approach by building four real-world applications. By developing these JSF web applications, you'll take a tour through the other Java EE technologies such as JPA, CDI, Security, WebSockets, and more...you will learn to use the JavaServer Faces web framework in Java EE 8 to easily construct a web-based user interface from a set of reusable components. Next, you add JSF event handling and then link to a database, persist data, and add security and the other bells and whistles that the Java EE 8 platform has to offer."--Page 4 of cover