Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2018

The Definitive Guide to JSF in Java EE 8

Building Web Applications with JavaServer Faces

Apress
  • Master the new features in JSF 2.3 MVC web framework and how to use them in tandem with other new Java EE 8 APIs

  • Build a web application from scratch using JSF and Java EE 8

  • Learn the best practices for web application development, and which are obsolete

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-3387-0
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout

This is a preview of subscription content, access via your institution.

Table of contents (15 chapters)

  1. Front Matter

    Pages i-xv
  2. History

    • Bauke Scholtz, Arjan Tijms
    Pages 1-11
  3. From Zero to Hello World

    • Bauke Scholtz, Arjan Tijms
    Pages 13-53
  4. Components

    • Bauke Scholtz, Arjan Tijms
    Pages 55-93
  5. Form Components

    • Bauke Scholtz, Arjan Tijms
    Pages 95-148
  6. Conversion and Validation

    • Bauke Scholtz, Arjan Tijms
    Pages 149-189
  7. Output Components

    • Bauke Scholtz, Arjan Tijms
    Pages 191-234
  8. Facelets Templating

    • Bauke Scholtz, Arjan Tijms
    Pages 235-273
  9. Backing Beans

    • Bauke Scholtz, Arjan Tijms
    Pages 275-317
  10. Exception Handling

    • Bauke Scholtz, Arjan Tijms
    Pages 319-339
  11. WebSocket Push

    • Bauke Scholtz, Arjan Tijms
    Pages 341-358
  12. Custom Components

    • Bauke Scholtz, Arjan Tijms
    Pages 359-392
  13. Search Expressions

    • Bauke Scholtz, Arjan Tijms
    Pages 393-407
  14. Security

    • Bauke Scholtz, Arjan Tijms
    Pages 409-457
  15. Localization

    • Bauke Scholtz, Arjan Tijms
    Pages 459-480
  16. Extensions

    • Bauke Scholtz, Arjan Tijms
    Pages 481-500
  17. Back Matter

    Pages 501-512

About this book

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.  

You will:
  • 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

Keywords

  • JSF
  • Java EE 8
  • JavaServer Faces
  • MVC
  • Web APIs
  • components
  • enterprise edition
  • web development
  • software
  • code
  • guide
  • UI
  • Tomcat
  • JBoss
  • Wildfly
  • web framework
  • GlassFish
  • Payara

Authors and Affiliations

  • Willemstad, Curaçao

    Bauke Scholtz

  • Amsterdam, The Netherlands

    Arjan Tijms

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.

Bibliographic Information

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-3387-0
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout