12 Running Java in containers

This chapter covers

  • Why container-driven development is important for the well-grounded Java developer
  • The difference between an OS, a VM, a container, and orchestration
  • Docker
  • Kubernetes
  • Practical guidance on running Java workloads in containers
  • Performance and observability in containers

Docker (https://www.docker.com/) containers have become the de facto standard for packaging Java applications for deployment, and Kubernetes (https://kubernetes.io/) (k8s) is the most popular option for orchestrating those containers. Especially if you are deploying to any of the major cloud providers, you will need to know about these technologies and, more importantly, how Java behaves with them.

Note Although other container ...

Get The Well-Grounded Java Developer, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.