Book Image

Hands-On Cloud-Native Microservices with Jakarta EE

By : Luigi Fugaro, Mauro Vocale
Book Image

Hands-On Cloud-Native Microservices with Jakarta EE

By: Luigi Fugaro, Mauro Vocale

Overview of this book

Businesses today are evolving rapidly, and developers now face the challenge of building applications that are resilient, flexible, and native to the cloud. To achieve this, you'll need to be aware of the environment, tools, and resources that you're coding against. The book will begin by introducing you to cloud-native architecture and simplifying the major concepts. You'll learn to build microservices in Jakarta EE using MicroProfile with Thorntail and Narayana LRA. You'll then delve into cloud-native application x-rays, understanding the MicroProfile specification and the implementation/testing of microservices. As you progress further, you'll focus on continuous integration and continuous delivery, in addition to learning how to dockerize your services. You'll also cover concepts and techniques relating to security, monitoring, and troubleshooting problems that might occur with applications after you've written them. By the end of this book, you will be equipped with the skills you need to build highly resilient applications using cloud-native microservice architecture.
Table of Contents (14 chapters)

Microservices Patterns

A pattern is something that can be repeated regularly and in a predictable manner.

This concept applies in all contexts—in building, in designing, in IT, and in every context where something needs to be done.

The concept of patterns started late in the 70s in regards to architecture and building designs, but patterns have always been around. Look at nature, for example—it is full of patterns, both repeatable and predictable. They occur in spirals, waves, and broccoli, and in mathematics with symmetric geometry, fractals, and so on.

However, in our context—the IT context—we first found patterns in the middle of the 90s in one of the books I read.

The pattern language continued to evolve to keep up with the speed of the evolution and revolution of IT, and at the beginning of the new millennium, new tools and systems were coming...