Book Image

Hands-On Cloud Development with WildFly

By : Tomasz Adamski
Book Image

Hands-On Cloud Development with WildFly

By: Tomasz Adamski

Overview of this book

The book starts by introducing you to WildFly Swarm—a tool that allows you to create runnable microservices from Java EE components. You’ll learn the basics of Swarm operation—creating microservices containing only the parts of enterprise runtime needed in a specific case. Later, you’ll learn how to configure and test those services. In order to deploy our services in the cloud, we’ll use OpenShift. You’ll get to know basic information on its architecture, features, and relationship to Docker and Kubernetes. Later, you’ll learn how to deploy and configure your services to run in the OpenShift cloud. In the last part of the book, you’ll see how to make your application production-ready. You’ll find out how to configure continuous integration for your services using Jenkins, make your application resistant to network failures using Hystrix, and how to secure them using Keycloak. By the end of the book, you’ll have a functional example application and will have practical knowledge of Java EE cloud development that can be used as a reference in your other projects.
Table of Contents (14 chapters)

Eclipse MicroProfile

Eclipse MicroProfile is a project that defines a programming model for developing Java microservices (Further reading, link 1). Similar to the Java EE standard, it contains a number of specifications that define the common way to provide functionalities needed by the microservices.

Let's take a look at the current content of the project (version 2.0):

As you will have noticed in the preceding diagram, there are a bunch of specifications that have come directly from Java EE, and that we have used extensively in our examples throughout the book (for example, JAX-RS or CDI). However, there are also a number of novel specifications that are supposed to deal with microservices-specific problems. As an example, the JWT Propagation specification deals with token-based security, and fault tolerance deals with the network failures.

As you are able to see, MicroProfile...