This is the example for a web application using Servlet-/PersistenceContainer and MessageQueue. The example application should give developers a broad overview of the possibilities they have as well as best practices.
Running with Docker
The application comes with a common Dockerfile (All-in-One container) and a docker-compose.yml (Distributed application with a container for each service).
The simplest way to run the example using Docker is
$ docker run -p9080:80 appserver/example
The second way the start the application is
docker-compose which starts a distributed version of the application, whereas each service
start's a own container. The containers are connected by the Docker network and the application components are using the remote interfaces to communicate with each other.