The traditional way to deploy Java applications requires installing the Java Development Kit (JDK), plus an application server, web server, database, and other components in a data center or in the cloud. Though this process works well enough, Docker containers can save you many headaches when it comes to packaging, deploying, and scaling your applications.
This report, published by O’Reilly, introduces basic Docker concepts and explains how to achieve faster startup and deployment of your Java-based applications. You’ll learn how containers improve portability across machines, how to load balance Java application servers running as Docker containers, how to decrease latency by caching responses, and how to monitor the health of your Java-based applications.
Get up to speed on Docker basics, including its image format and toolset for building, shipping, and running containers
Build and run your first Docker container by deploying a sample Java EE application with Docker Compose and Docker Swarm
Ensure that user requests are appropriately distributed among servers through weighted load balancing
Monitor the health and stability of your applications with NGINX advanced health checks and live activity monitoring