Introduction ============ Refer to this definitive and authoritative book to understand the Jakarta EE Security Spec, with Jakarta Authentication & Authorization as its underlying official foundation. Jakarta EE Security implementations are discussed, such as Soteria and Open Liberty, along with
The Definitive Guide to Jakarta Faces in Jakarta EE 10: Building Java-Based Enterprise Web Applications
✍ Scribed by Bauke Scholtz, Arjan Tijms
- Publisher
- Apress
- Year
- 2022
- Tongue
- English
- Leaves
- 532
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
✦ Table of Contents
Table of Contents
About the Authors
About the Technical Reviewer
Chapter 1: History
In the Beginning…
The Adolescent Years
On to Maturity
Rejuvenation
Chapter 2: From Zero to Hello World
Installing Java SE JDK
What About Jakarta EE?
Installing WildFly
Installing Eclipse
Configuring Eclipse
Integrating Application Server in Eclipse
Creating New Project in Eclipse
Adjusting Deployment Descriptors
Configuring Jakarta Faces
Creating the Backing Bean Class
Creating the Facelets File
Deploying the Project
Installing H2
Configuring DataSource
Configuring Jakarta Persistence
Creating the Jakarta Persistence Entity
Creating the Jakarta Enterprise Beans Service
Adjusting the Hello World
Chapter 3: Components
Standard HTML Components
Standard Core Tags
Life Cycle
Restore View Phase (First Phase)
Apply Request Values Phase (Second Phase)
Process Validations Phase (Third Phase)
Update Model Values Phase (Fourth Phase)
Invoke Application Phase (Fifth Phase)
Render Response Phase (Sixth Phase)
Ajax Life Cycle
View Build Time
View Render Time
View State
View Scope
Phase Events
Component System Events
Custom Component System Events
Jakarta Tags
Manipulating the Component Tree
Chapter 4: Form Components
Input, Select, and Command Components
Text-Based Input Components
File-Based Input Component
Selection Components
SelectItem Tags
SelectItem Groups
Label and Message Components
Command Components
Navigation
Ajaxifying Components
Navigation in Ajax
GET Forms
Stateless Forms
Chapter 5: Conversion and Validation
Standard Converters
Standard Validators
Immediate Attribute
Custom Converters
Custom Validators
Custom Constraints
Custom Messages
Chapter 6: Output Components
Document-Based Output Components
Text-Based Output Components
Navigation-Based Output Components
Panel-Based Output Components
Data Iteration Component
Editable
Add/Remove Rows in
Select Rows in
Dynamic Columns in
Resource Components
Pass-Through Elements
Chapter 7: Facelets Templating
XHTML
Template Compositions
Single Page Application
Template Decorations
Tag Files
Composite Components
Recursive Composite Component
Implicit EL Objects
Chapter 8: Backing Beans
Model, View, or Controller?
Managed Beans
Scopes
@ApplicationScoped
@SessionScoped
@ClientWindowScoped
@ConversationScoped
@FlowScoped
@ViewScoped
@RequestScoped
@Dependent
Which Scope to Choose?
Where Is @FlashScoped?
Managed Bean Initialization and Destruction
Injecting Jakarta Faces Vended Types
Eager Initialization
Layers
Naming Conventions
Chapter 9: Exception Handling
Custom Error Pages
Ajax Exception Handling
ViewExpiredException Handling
IOException Handling
EJBException Handling
Chapter 10: WebSocket Push
Configuration
Usage
Scopes and Users
Channel Design Hints
One-Time Push
Stateful UI Updates
Site-Wide Push Notifications
Keeping Track of Active Sockets
Client Side Event Handling
Breaking Down Mojarra’s f:websocket Implementation
Chapter 11: Custom Components
Component Type, Family, and Renderer Type
Creating New Component and Renderer
Extending Existing Component
Extending Existing Renderer
Custom Tag Handlers
Packaging in a Distributable JAR
Resource Dependencies
Chapter 12: Search Expressions
Relative Local IDs
Absolute Hierarchical IDs
Standard Search Keywords
Custom Search Keywords
Chapter 13: Security
Jakarta EE Security Overview and History
Protect Access to Resources
Excluded
Unchecked
By Role
Setting the Authentication Mechanism
Setting the Identity Store
Providing Our Custom Jakarta Faces Code
Caller-Initiated Authentication
Remember Me
Activating Remember-Me Service
Logging Out
Custom Principals
Conditionally Rendering Based on Access
Cross-Site Request Forgery Protection
Web Parameter Tampering Protection
Cross-Site Scripting Protection
Source Exposure Protection
Chapter 14: Localization
Hello World, Olá mundo, नमस्ते दुनिया
Configuration
Referencing Bundle in Jakarta Faces Page
Changing the Active Locale
Organizing Bundle Keys
Localizing Conversion/Validation Messages
Obtaining Localized Message in a Custom Converter/Validator
Localizing Enums
Parameterized Resource Bundle Values
Database-Based ResourceBundle
HTML in ResourceBundle
Chapter 15: Extensions
Extension Types
Extending CDI Artifacts
Extending Classical Artifacts
Plug-ins
Dynamic Extensions
Application Configuration Populator
The Application Main Class
Local Extension and Wrapping
Introspection
Index
📜 SIMILAR VOLUMES
<span>Refer to this definitive and authoritative book to understand the Jakarta EE Security Spec, with Jakarta Authentication & Authorization as its underlying official foundation. Jakarta EE Security implementations are discussed, such as Soteria and Open Liberty, along with the build-in module
Introduction Learn to use the Jakarta Persistence API and other related APIs as found in the Jakarta EE 10 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of Jakarta Persistence usage
<div>Learn to use the Jakarta Persistence API and other related APIs as found in the Jakarta EE 10 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of Jakarta Persistence usage for experi
Welcome to your in-depth professional guide to the open source Eclipse Jakarta EE 10 platform. This book will help you build more complex native enterprise Java-based cloud and other applications that can run in corporate and other mission-critical settings. The majority of the key Jakarta EE 10 API
An enterprise Java developer's guide to learning JAX-RS, context and dependency injection, JavaServer Faces (JSF), and microservices with Eclipse MicroProfile using the latest features of Jakarta EE. Key Features ------------ Explore Jakarta EE's latest features and API specifications and dis