A microservice is a small application serving a single use case. Microservices are typically REST services and can be deployed quickly. Docker containers are ideally suited to deploying microservices because they allow applications to run in isolation, with little or no difference in development, testing, and production environments. Docker containers can also be deployed very quickly and can scale well.
In this chapter, we saw how to develop microservices using WildFly Swarm and Spring Boot. We created a simple microservice to list courses for our Course Management application. The concepts we learned can be extended to create microservices using other frameworks. We also learned how to deploy these services in Docker containers using the Eclipse plugin for Docker Tooling.
In the next chapter, we will learn how to deploy a JEE application in the cloud.