Docker for Java Developers

Package, Deploy, and Scale with Ease

Docker for Java Developers

Get the free ebook

The established way to deploy Java applications requires you to install the Java Development Kit (JDK), plus an application server, web server, database, and other components in a data center, whether on-premise 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.

In this O’Reilly report, author Arun Gupta explains Docker’s basic concepts and the commonly used orchestration frameworks around them. You’ll learn how to achieve faster startup and deployments on both Windows, Mac OS X, and Linux, and understand how these containers improve portability across machines and reduce the impedance mismatch between development, testing, and production environments.

Update: Coming in Fall 2016, this report will include a chapter that explains how to load balance multiple Java application servers running as Docker containers. Learn how to provide low latency to the client by caching responses and enable health monitoring on your 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
  • Manage Docker images and containers with IDEs such as NetBeans, Eclipse, and IntelliJ IDEA
  • Use a Maven plugin to create a Docker image and start a container
  • Ensure that user requests are appropriately distributed among servers through weighted load balancing

Fill out the form below

All fields are required.

We protect your privacy.
Arun Gupta

Arun Gupta

Arun Gupta is a Principal Open Source Technologist at Amazon Web Services. He has built and led developer communities for 10+ years at Sun, Oracle, Red Hat and Couchbase. He has deep expertise in leading cross-functional teams to develop and execute strategy, planning and execution of content, marketing campaigns, and programs. Prior to that he led engineering teams at Sun and is a founding member of the Java EE team. Gupta has authored more than 2,000 blog posts on technology. He has extensive speaking experience in more than 40 countries on myriad topics and is a JavaOne Rock Star for four years in a row. Gupta also founded the Devoxx4Kids chapter in the US and continues to promote technology education among children. An author of several books on technology, an avid runner, a globe trotter, a Java Champion, a JUG leader, NetBeans Dream Team member, and a Docker Captain, he is easily accessible at @arungupta.