Linked e-resources
Details
Table of Contents
Intro
Table of Contents
About the Authors
About the Technical Reviewers
Introduction
Preface
Chapter 1: Introduction
Introducing Helidon
Helidon Flavors
Helidon MP
Helidon SE
Which Flavor Should You Use?
Summary
Chapter 2: Your First Application
Generating Your First Application
Helidon CLI
Project Starter
Helidon Maven Archetypes
Analyzing Generated Project
Quickstart Application
Maven Project
CDI
RESTful Web Service
Build and Run
Packaging
Executable JAR
jlink Image
Native Image
Local Native Image Build
Docker Native Image Build
Deploying to Kubernetes
Summary
Chapter 3: Configuration
Expressions
Programmatic API
Config Sources
Converters
Automatic Converter
Aggregated Properties
Custom Converter
Profiles
Property Level
Config Source Level
Meta Configuration
YAML Config Source
Custom Config Source
Dynamic Config Source
Kubernetes ConfigMap
Environment Variables
Mounted Volume
Summary
Chapter 4: Observability
What Is Observability?
Health
Kubernetes Probes
MicroProfile Health
Adding Health Checks to Your Helidon Application
Using Project Starter
Using CLI
Adding Dependencies Manually
Built-in Checks
Custom Checks
Metrics
Adding MicroProfile Metrics Support to Your Helidon Application
Using Project Starter
Using CLI
Adding Dependencies Manually
Sample Application
MicroProfile Metrics REST API
Metrics Model
Metric Identity
Metric Scopes
Base Scope
Vendor Scope
Application Scope
Metric Metadata
Metrics Types
Using MicroProfile Metrics API
Counter
Using Annotations
Using Programmatic API
Gauge
Using Annotations
Using Programmatic APIs
Concurrent Gauge
Using Annotations
Using Programmatic API
Histogram
Using Programmatic API
Meter
Using Annotations
Using Programmatic APIs
Simple Timer
Using Annotations
Using Programmatic API
Timer
Using Annotations
Using Programmatic API
Tracing
Distributed Tracing
Adding Tracing to Your Helidon Application
Using Project Starter
Using CLI
Adding Dependencies Manually
Helidon Tracing Implementation
Helidon Built-in Spans
MicroProfile OpenTracing API
Configuration
Enabling/Disabling Tracing
Renaming a Top-Level Span
Logging
Logging in Helidon
Mapped Diagnostic Context (MDC)
MDC with JUL
MDC with Log4j
MDC with SLF4J
Summary
Chapter 5: Communicating with Other Services
MicroProfile Rest Client
Integration with MicroProfile Config
Exception Handling
Modifying Requests and Responses
Handling Headers
Asynchronous Operations
Programmatic APIs
MicroProfile Rest Client Conclusion
JAX-RS Client API
Providers
Asynchronous Operations
JAX-RS Client API Conclusion
CORS
Summary
Table of Contents
About the Authors
About the Technical Reviewers
Introduction
Preface
Chapter 1: Introduction
Introducing Helidon
Helidon Flavors
Helidon MP
Helidon SE
Which Flavor Should You Use?
Summary
Chapter 2: Your First Application
Generating Your First Application
Helidon CLI
Project Starter
Helidon Maven Archetypes
Analyzing Generated Project
Quickstart Application
Maven Project
CDI
RESTful Web Service
Build and Run
Packaging
Executable JAR
jlink Image
Native Image
Local Native Image Build
Docker Native Image Build
Deploying to Kubernetes
Summary
Chapter 3: Configuration
Expressions
Programmatic API
Config Sources
Converters
Automatic Converter
Aggregated Properties
Custom Converter
Profiles
Property Level
Config Source Level
Meta Configuration
YAML Config Source
Custom Config Source
Dynamic Config Source
Kubernetes ConfigMap
Environment Variables
Mounted Volume
Summary
Chapter 4: Observability
What Is Observability?
Health
Kubernetes Probes
MicroProfile Health
Adding Health Checks to Your Helidon Application
Using Project Starter
Using CLI
Adding Dependencies Manually
Built-in Checks
Custom Checks
Metrics
Adding MicroProfile Metrics Support to Your Helidon Application
Using Project Starter
Using CLI
Adding Dependencies Manually
Sample Application
MicroProfile Metrics REST API
Metrics Model
Metric Identity
Metric Scopes
Base Scope
Vendor Scope
Application Scope
Metric Metadata
Metrics Types
Using MicroProfile Metrics API
Counter
Using Annotations
Using Programmatic API
Gauge
Using Annotations
Using Programmatic APIs
Concurrent Gauge
Using Annotations
Using Programmatic API
Histogram
Using Programmatic API
Meter
Using Annotations
Using Programmatic APIs
Simple Timer
Using Annotations
Using Programmatic API
Timer
Using Annotations
Using Programmatic API
Tracing
Distributed Tracing
Adding Tracing to Your Helidon Application
Using Project Starter
Using CLI
Adding Dependencies Manually
Helidon Tracing Implementation
Helidon Built-in Spans
MicroProfile OpenTracing API
Configuration
Enabling/Disabling Tracing
Renaming a Top-Level Span
Logging
Logging in Helidon
Mapped Diagnostic Context (MDC)
MDC with JUL
MDC with Log4j
MDC with SLF4J
Summary
Chapter 5: Communicating with Other Services
MicroProfile Rest Client
Integration with MicroProfile Config
Exception Handling
Modifying Requests and Responses
Handling Headers
Asynchronous Operations
Programmatic APIs
MicroProfile Rest Client Conclusion
JAX-RS Client API
Providers
Asynchronous Operations
JAX-RS Client API Conclusion
CORS
Summary