Master the art of implementing user interfaces with JSF 2.2
- Fortify your JSF solutions by combing the powers of JSF 2.x (2.0, 2.1, and 2.2)
- Get acquainted with the newly introduced features in JSF 2.2, such as the faces flow, stateless views, pass-through attributes and resource library contracts
- Browse through over 300 well defined JSF applications presented in a concise and clear cut approach
JavaServer Faces (JSF) is a leading framework and core component of Java Platform Enterprise Edition. JSF is the standard Java EE technology used to build web user interfaces. JSF 2.2 is a recent release with an extensive list of new features, some of which have been expected for a long time and are now ready to be implemented.
Starting out with a very basic topic, Expression Language, you will continue onwards covering a wide range of JSF sectors, such as JSF communication, JSF scopes, and so on. Throughout the book, you will master JSF artifacts (AJAX, HTML5, configurations,renders, handlers, listeners, events, factories, tabular data, custom components, Facelets, and so on) in a compendium of programming practices and informative examples.
You then round off with a detailed discussion on the capabilities of Facelets. Overall, this book helps you gain knowledge on the latest JSF features in an interesting and original approach. Adding these skills to your personal arsenal will turn you into a veritable JSF master.
What you will learn from this book
- Discover how to write custom JSF 2.2 themes, custom factories, handlers, renderers, and components
- Access unlimited developing scenarios with the concept of dependency injection
- Enhance your applications with JSF 2.2 upload component and HTML5 friendly markup
- Master the new JSF 2.2 Window ID technique
- Gain insights into managing the application state with stateless viewsExplore the new CDI @ViewScoped and @FlowScoped (detailed presentation)
A homogenous guide integrating the features of JSF 2.x (2.0, 2.1 and 2.2), following a ‘learning through examples’ paradigm with its main focus on the advanced concepts of JSF.
Who this book is written for
If you are a web developer who uses JSF, this is the book for you. Catering to an intermediate-advanced audience, the book assumes you have fundamental knowledge of JSF. It is intended for the developer who wants to improve their skills with the combined power of JSF 2.0, 2.1, and 2.2.
Table of Contents
Chapter 1. Dynamic Access to JSF Application Data through Expression Language (EL 3.0)
Chapter 2. Communication in JSF
Chapter 3. JSF Scopes – Lifespan and Use in Managed Beans Communication
Chapter 4. JSF Configurations Using XML Files and Annotations – Part 1
Chapter 5. JSF Configurations Using XML Files and Annotations – Part 2
Chapter 6. Working with Tabular Data
Chapter 7. JSF and AJAX
Chapter 8. JSF 2.2 – HTML5 and Upload
Chapter 9. JSF State Management
Chapter 10. JSF Custom Components
Chapter 11. JSF 2.2 Resource Library Contracts – Themes
Chapter 12. Facelets Templating