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)

OpenShift

In the previous sections, we covered the powerful cloud abstraction that is provided by Kubernetes and Docker. On the other hand, we hinted in a number of places that in order to use Kubernetes effectively, you have to, among other things, deal directly with Kubernetes object configurations or Docker files. As we wrote before, we would preferably like to have a tool that will abstract those things away from us, make them either happen automatically, or be configured using easy-to-use tools. Here is where OpenShift steps in. OpenShift adds another layer of abstraction on top of Kubernetes, providing it with additional cluster model features, such as builds, or tools, such as web console. As you will see, the layer added by OpenShift makes all the cloud operations very simple and effectively allows you to focus on the development of your code.

Returning for a moment to...