Learn and master the new features in the new Eclipse Jakarta Faces (formerly JavaServer Faces or JSF) web framework in this definitive guide written by two of the driving forces of the Faces project and the co-creators of the OmniFaces library. Authors Bauke Scholtz and Arjan Tijms take you through real-world examples that demonstrate how these new features are used with other APIs in Jakarta EE. You'll see the new and exciting ways Jakarta Faces applications can use to communicate between a client and a server, such as using WebSockets, invoking bean methods directly from Ajax, executing client-side JavaScript when Ajax calls complete, and more
Along the way you'll broaden your knowledge of Faces components and web APIs best practices, and learn a great deal about the internals of Faces and the design decisions that have been made when building the Faces API. For example, you'll see what artefacts are now CDI injectable, how CDI changed Faces internally,and what some of the caveats are when working with the CDI versions of a Faces artefact.
Furthermore, you'll build an example application from scratch. After reading The Definitive Guide to Jakarta Faces in Jakarta EE 10, you'll be ready to build your own efficient and secure web applications.
What You Will LearnLeverage the new features in Jakarta Faces in Jakarta EE in your existing applicationsIntegrate Faces and CDIUse the brand new Component Search Expression framework, which enables you to more easily locate components from your templateExtend the Component Search Expression framework with your own search operatorsWork with the different ways of mapping requests to Faces, make your application use extension-less URLs, and programmatically inspect which resources are present in your applicationMaster the best practices for web application development and see which are obsoleteWho This Book Is For
Existing JSF or Java developers who need to create a web UI. No prior knowledge of Faces isrequired, but the book does skew towards the more experienced developer. Concepts such as dependency injection and MVC are assumed to be known, as is a general knowledge about HTML, HTTP and other web standards.
Along the way you'll broaden your knowledge of Faces components and web APIs best practices, and learn a great deal about the internals of Faces and the design decisions that have been made when building the Faces API. For example, you'll see what artefacts are now CDI injectable, how CDI changed Faces internally,and what some of the caveats are when working with the CDI versions of a Faces artefact.
Furthermore, you'll build an example application from scratch. After reading The Definitive Guide to Jakarta Faces in Jakarta EE 10, you'll be ready to build your own efficient and secure web applications.
What You Will LearnLeverage the new features in Jakarta Faces in Jakarta EE in your existing applicationsIntegrate Faces and CDIUse the brand new Component Search Expression framework, which enables you to more easily locate components from your templateExtend the Component Search Expression framework with your own search operatorsWork with the different ways of mapping requests to Faces, make your application use extension-less URLs, and programmatically inspect which resources are present in your applicationMaster the best practices for web application development and see which are obsoleteWho This Book Is For
Existing JSF or Java developers who need to create a web UI. No prior knowledge of Faces isrequired, but the book does skew towards the more experienced developer. Concepts such as dependency injection and MVC are assumed to be known, as is a general knowledge about HTML, HTTP and other web standards.