Description
Book SynopsisGet ready to develop microservices using open source Eclipse MicroProfile and Jakarta EE, and deploy them on Kubernetes/Docker. This book covers best practices for developing cloud-native applications with MicroProfile and Jakarta EE. This book introduces you to cloud-native applications and teaches you how to set up your development environment. You'll learn about the various components of MicroProfile, such as fault tolerance, config, health check, metrics, and JWT auth. You'll develop a RESTful web service made up of some microservices. You'll deploy your application on Docker and Kubernetes. After reading this book, you'll come away with the fundamentals you need to build and deploy your first cloud-native Java-based app. What You'll LearnBuild your first cloud-native Java-based app with the open source MicroProfile platform, and Jakarta EE 10 APIsDevelop a RESTful web service using MicroProfile and Jakarta EEDiscover and explore the key components of the MicroProfile fra
Table of Contents1. Introduction to Cloud-Native Applications
1.1. What are Cloud-Native Applications?1.2. Why Use Cloud-Native Applications?1.3. What are the Benefits of Using Cloud-Native Applications?
2. Setting Up Your Development Environment
2.1. Prerequisites2.2. Installing Java SE 172.3. Installing Kubernetes2.4. Installing Docker
3. Creating a Config Component
3.1. What is a Config Component?3.2. Setting Up the Config Component3.3. Accessing the Configuration Data in Your Application
4. Using the Fault Tolerance Component
4.1. What is the Fault Tolerance Component?4.2. Configuring the Fault Tolerance Component4.3. Handling Failures in Your Application
5. Using the Health Check Component
5.1. What is the Health Check Component?5.2. Configuring the Health Check Component5.3. Checking the Health of Your Application
6. Using the Metrics Component
6.1. What is the Metrics Component?6.2. Collecting Metrics Data in Your Application
7. Using the JWT Authentication Component
7.1. What is the JWT Authentication Component?7.2. Configuring the JWT Authentication Component7.3. Authenticating Users in Your Application
8. Developing a RESTful Web Service
8.1. What is a RESTful Web Service?8.2. Developing a RESTful Web Service8.3. Implementing the HTTP Methods
9. Deploying an Application on Kubernetes/Docker
9.1. What is Kubernetes?9.2. What is Docker?9.3. Installing Kubernetes9.4. Creating a Kubernetes Cluster9.5. Installing Docker on Kubernetes9.6. Deploying an Application on Kubernetes/Docker9.7. Benefits of using Jakarta EE and Kubernetes/Docker for developing cloud-native applications.