Docker and Kubernetes for Java Developers

Leverage the lethal combination of Docker and Kubernetes to automate deployment and management of Java applications
Preview in Mapt

Docker and Kubernetes for Java Developers

Jaroslaw Krochmalski

2 customer reviews
Leverage the lethal combination of Docker and Kubernetes to automate deployment and management of Java applications
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Docker and Kubernetes for Java Developers Book Cover
Docker and Kubernetes for Java Developers
$ 35.99
$ 10.00
Full Stack Angular for Java Developers Book Cover
Full Stack Angular for Java Developers
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $55.98
Add to Cart

Book Details

ISBN 139781786468390
Paperback318 pages

Book Description

Imagine creating and testing Java EE applications on Apache Tomcat Server or Wildfly Application server in minutes along with deploying and managing Java applications swiftly. Sounds too good to be true? But you have a reason to cheer as such scenarios are only possible by leveraging Docker and Kubernetes.

This book will start by introducing Docker and delve deep into its networking and persistent storage concepts. You will then proceed to learn how to refactor monolith application into separate services by building an application and then packaging it into Docker containers. Next, you will create an image containing Java Enterprise Application and later run it using Docker. Moving on, the book will focus on Kubernetes and its features and you will learn to deploy a Java application to Kubernetes using Maven and monitor a Java application in production. By the end of the book, you will get hands-on with some more advanced topics to further extend your knowledge about Docker and Kubernetes.

Table of Contents

Chapter 1: Introduction to Docker
The idea behind Docker
Virtualization and containerization compared
Docker concepts - images and containers
Additional tools
Installing Docker
Summary
Chapter 2: Networking and Persistent Storage
Networking
Networking commands
Creating and inspecting a network
Connecting a container to the network
Exposing ports and mapping ports
Persistent storage
Volume-related commands
Creating a volume
Removing a volume
Volume drivers
Summary
Chapter 3: Working with Microservices
An introduction to microservices
Monolithic versus microservices
Maintaining data consistency
The Docker role
Kubernetes' role
When to use the microservice architecture
Summary
Chapter 4: Creating Java Microservices
Introduction to REST
REST in Java
Coding the Spring Boot microservice
Running the application
Making calls
Spring Initializr
Summary
Chapter 5: Creating Images with Java Applications
Dockerfile
Dockerfile instructions
Summary
Chapter 6: Running Containers with Java Applications
Starting and stopping containers
Container running modes
Monitoring containers
Restart policies
Runtime constraints on resources
Running with Maven
Summary
Chapter 7: Introduction to Kubernetes
Why do we need Kubernetes?
Basic Kubernetes concepts
Summary
Chapter 8: Using Kubernetes with Java
Installing Minikube
Installing kubectl
Deploying on the Kubernetes cluster
Minikube addons
Cleaning up
Summary
Chapter 9: Working with the Kubernetes API
API versioning
Authentication
Authorization
Admission control
Using the API
Swagger docs
Summary
Chapter 10: Deploying Java on Kubernetes in the Cloud
Benefits of using the cloud, Docker, and Kubernetes
Installing the tools
Configuring Amazon AWS
Creating an administrative user
Creating the cluster
Summary
Chapter 11: More Resources
Docker
Kubernetes

What You Will Learn

  • Package Java applications into Docker images
  • Understand the running of containers locally
  • Explore development and deployment options with Docker
  • Integrate Docker into Maven builds
  • Manage and monitor Java applications running on Kubernetes clusters
  • Create Continuous Delivery pipelines for Java applications deployed to Kubernetes

Authors

Table of Contents

Chapter 1: Introduction to Docker
The idea behind Docker
Virtualization and containerization compared
Docker concepts - images and containers
Additional tools
Installing Docker
Summary
Chapter 2: Networking and Persistent Storage
Networking
Networking commands
Creating and inspecting a network
Connecting a container to the network
Exposing ports and mapping ports
Persistent storage
Volume-related commands
Creating a volume
Removing a volume
Volume drivers
Summary
Chapter 3: Working with Microservices
An introduction to microservices
Monolithic versus microservices
Maintaining data consistency
The Docker role
Kubernetes' role
When to use the microservice architecture
Summary
Chapter 4: Creating Java Microservices
Introduction to REST
REST in Java
Coding the Spring Boot microservice
Running the application
Making calls
Spring Initializr
Summary
Chapter 5: Creating Images with Java Applications
Dockerfile
Dockerfile instructions
Summary
Chapter 6: Running Containers with Java Applications
Starting and stopping containers
Container running modes
Monitoring containers
Restart policies
Runtime constraints on resources
Running with Maven
Summary
Chapter 7: Introduction to Kubernetes
Why do we need Kubernetes?
Basic Kubernetes concepts
Summary
Chapter 8: Using Kubernetes with Java
Installing Minikube
Installing kubectl
Deploying on the Kubernetes cluster
Minikube addons
Cleaning up
Summary
Chapter 9: Working with the Kubernetes API
API versioning
Authentication
Authorization
Admission control
Using the API
Swagger docs
Summary
Chapter 10: Deploying Java on Kubernetes in the Cloud
Benefits of using the cloud, Docker, and Kubernetes
Installing the tools
Configuring Amazon AWS
Creating an administrative user
Creating the cluster
Summary
Chapter 11: More Resources
Docker
Kubernetes

Book Details

ISBN 139781786468390
Paperback318 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Getting Started with Kubernetes - Second Edition Book Cover
Getting Started with Kubernetes - Second Edition
$ 35.99
$ 10.00
Mastering Docker - Second Edition Book Cover
Mastering Docker - Second Edition
$ 39.99
$ 10.00
Continuous Delivery with Docker and Jenkins Book Cover
Continuous Delivery with Docker and Jenkins
$ 35.99
$ 10.00
Architecting Modern Java EE Applications Book Cover
Architecting Modern Java EE Applications
$ 39.99
$ 10.00
AWS Networking Cookbook Book Cover
AWS Networking Cookbook
$ 35.99
$ 10.00
DevOps: Puppet, Docker, and Kubernetes Book Cover
DevOps: Puppet, Docker, and Kubernetes
$ 79.99
$ 10.00