Description
Book SynopsisMaster 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 Lear
Table of Contents
Part I: TinyCalculator Project
1. TinyCalculator2. Foundations3. JavaServer Faces4. Expression Language5. HTML Friendly Markup6. Configuration files7. Testing with Selenium8. Recap TinyCalculator
Part II: Books Project
9. Preparing for Java EE 810. Introducing the Books Application11. Starting the Books App12. Java Persistence API13. JSF Templating14. Becoming International15. Bean Validation16. Contexts and Dependency Injection17. Conversation Scope18. Links19. Responsive Design20. Summary and Perspective
Part III: Intermezzo Project
21. Intermezzo22. JSF Lifecycle revised23. Repetitive Structures23. JSF and BeanValidation
Part IV: Alumni Project
24. Alumni25. Validation26. Ajax27. Building Composite Components28. Secure Passwords29. Data Facade30. Activation Mail31. Cleanup (or Scheduled Tasks)32. Authentication and Authorization33. Account Handling34. Classroom Chat (WebSockets) 35. Changing Look and Feel36. Constants HandlingAfterwordAppendix AAppendix BAppendix CAppendix DAppendix E