The Definitive Guide to JSF in Java EE 8: Building Web Applications with JavaServer Faces

  • 6h 3m
  • Arjan Tijms, Bauke Scholtz
  • Apress
  • 2018

Learn and master the new features in the JSF 2.3 MVC web framework in this definitive guide written by two of the JavaServer Faces (JSF) specification leads. The authors take you through real-world examples that demonstrate how these new features are used with other APIs in Java EE 8. You’ll see the new and exciting ways JSF 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 JSF components and web APIs best practices, and learn a great deal about the internals of JSF and the design decisions that have been made when building the JSF API. For example, you’ll see what artefacts are now CDI injectable, how CDI changed JSF internally, and what some of the caveats are when working with the CDI versions of a JSF artefact.

Furthermore, you'll build an example application from scratch. After reading The Definitive Guide to JSF in Java EE 8, you'll be ready to build your own efficient and secure web applications.

What You Will Learn

  • Leverage the new features in JSF 2.3 in your existing applications
  • Integrate JSF and CDI
  • Use the brand new Component Search Expression framework, which enables you to more easily locate components from your template
  • Extend the Component Search Expression framework with your own search operators
  • Work with the different ways of mapping requests to JSF, make your application use extensionless
  • URLs, and programmatically inspect which resources are present in your application
  • Master the best practices for web application development and see which are obsolete

About the Authors

Bauke Scholtz is an Oracle Java Champion, a member of the JSF 2.3 Expert Group and the main creator of the JSF helper library OmniFaces. He is on the internet more commonly known as BalusC who is among the top users and contributors on Stack Overflow. Bauke has integrated several OmniFaces solutions into JSF 2.3. He is a web application specialist and consults or has consulted for these Mercury1 Limited, MyTutor, Nava Finance, LinkPizza, ZEEF, M4N/Zanox, ITCA, RDC and more clients from fintech, affiliate marketing, social media and more as part of his 17 years of experience. This book offers Bauke the opportunity to go into depth as to answering most frequently asked questions and correctly solving most commonly encountered problems while using JSF.

Arjan Tijms works for Payara Services Ltd and is a JSF (JSR 372) and Security API (JSR 375) Expert Group member. He is the co-creator of the popular OmniFaces library for JSF that was a 2015 Duke’s Choice Award winner, and is the main creator of a set of tests for the Java EE authentication SPI (JASPIC) that has been used by various Java EE vendors. Arjan holds an MSc degree in Computer Science from the University of Leiden, The Netherlands. Writing about this topic was a natural choice for Arjan; He has already written much about it at his blog and would like to expand that by contributing to a book.

In this Book

  • History
  • From Zero to Hello World
  • Components
  • Form Components
  • Conversion and Validation
  • Output Components
  • Facelets Templating
  • Backing Beans
  • Exception Handling
  • WebSocket Push
  • Custom Components
  • Search Expressions
  • Security
  • Localization
  • Extensions
SHOW MORE
FREE ACCESS