Building the Stock Trader container images
As discussed in previous sections, we use Open Liberty as the application server hosting most of the Stock Trader microservices. And we use Docker to produce the container images that ultimately get run in a Kubernetes cluster such as the OpenShift Container Platform cluster.
The following subsections will describe how we configure the server, and how we package it up into a container image.
Open Liberty
There are a variety of MicroProfile compliant Java application servers on the market. As a reminder from Chapter 3, Introducing the IBM Stock Trader Cloud-Native Application, most of the Stock Trader microservices (Trader, Broker, Broker-Query, Portfolio, Account, Trade History, Messaging, Notification-Slack, Collector, and Looper) are based on the open source Open Liberty application server. For variety, there are three other microservices based on different servers:
- Stock Quote, which runs on Red Hat's Quarkus. ...