Learn about JKube. It simplifies many aspects of building Java applications for Kubernetes and OpenShift.
Also find me here:
Baeldung Author
Michael Pratt
I am a Java developer with 20 years of experience working with large software systems in a variety of industries. Lover of all things Spring Boot and microservices. Husband, father of two boys, and aspiring piano player.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring Boot (11)
- DevOps (11)
- Docker (8)
- Spring (3)
- Security (3)
- Java (3)
- Spring Web (2)
- Spring Security (2)
- Spring Cloud (2)
- Persistence (2)
- NoSQL (2)
- HTTP Client-Side (2)
- Architecture (2)
- Testing (1)
- REST (1)
- Programming (1)
- Logging (1)
- IDE (1)
- Gradle (1)
- Data (1)
- Cloud (1)
Difference Between Instant and LocalDateTime
Filed under Java
Learn about the difference between the Instant and LocalDateTime classes introduced with Java 8.
Difference Between get() and navigate() in Selenium WebDriver
Filed under Testing
Learn the difference between get() and navigate() methods in the Selenium WebDriver API.
Introduction to MinIO
Filed under Cloud
A brief introduction to MinIO, an object storage engine with full S3 compatibility
Automatically Create Schemas for H2 In-Memory Database
Filed under Persistence
Learn several ways to ensure that our H2 in-memory database is automatically initialized and ready to use for querying when our application starts.
Introduction to Grafana Loki
Learn about Grafana Loki, a log aggregation system that’s part of the Grafana ecosystem.
Introduction to MicroK8s
Filed under Architecture, Docker
Learn how MicroK8s can allow us to run full-featured Kubernetes clusters with a small CPU and memory footprint.
Difference Between exchange(), postForEntity(), and execute() in RestTemplate
Filed under HTTP Client-Side, REST, Spring
Learn three different ways to send a HTTP POST request using Spring’s RestTemplate.
Showing Differences Between Two Docker Images
Filed under Docker
Look at the structure of Docker images and how to see the differences between two images
Ingress vs. Load Balancer in Kubernetes
Filed under DevOps
Learn about different mechanisms to help manage network traffic and ensure requests get to their desired destination inside a cluster
Running Cron Jobs in Kubernetes
Filed under DevOps
Learn how to utilize cron jobs inside a Kubernetes cluster
Introduction to Docker Secrets
Learn how Docker secrets can help us store configuration separate from our code
Difference Between Docker Save and Export
Filed under Docker
Look at the difference between the Docker save and export commands
Difference Between Docker, Dockerfile, and Docker Compose
Filed under Docker
Learn the differences between Docker, Dockerfile, and Docker Compose and how they fit into a larger technology ecosystem
Add Prefix to All Spring Boot Controllers
Filed under Spring Boot
Look at different ways to use a common prefix for all Spring Boot controllers
Using Spring Cloud Config Without Git
Filed under Spring Cloud
Learn how to use Spring Cloud Config without git as the data store
Introduction to Spring Cloud Load Balancer
Filed under Spring Cloud
Learn how to use Spring Cloud Load Balancer to create more fault-tolerant applications
Difference Between Gradle Test and Check
Filed under Gradle
Learn the difference between the Gradle test and check tasks and identify exactly what each one does and when it makes sense to use them
Overriding Spring Boot Managed Dependency Versions
Filed under Spring Boot
Learn how to override Spring Boot managed dependencies and their versions with both Maven and Gradle.
Configuring Git Credentials
Filed under Programming
In this tutorial, we’ll look at how to configure git credentials to prevent having to enter them manually.
Difference Between COPY and ADD in a Dockerfile
Filed under Docker
Learn the differences between the two ways to copy files from the source system and when it makes sense to use each one
What’s New in Java 15
Filed under Java
Look at some of the new features of Java 15 as well as other changes that are of interest to Java developers
Guide to Jenkins Parameterized Builds
Filed under DevOps
Learn how to use build parameters with both Jenkins jobs and pipelines
Spring Boot Without A Web Server
Filed under Spring Boot
Learn multiple ways to run a Spring Boot without a web server
Using Hidden Inputs with Spring and Thymeleaf
Filed under Spring Web
Learn how to use hidden inputs with Thymeleaf.
Creating Docker Images with Spring Boot
Filed under Docker, Spring Boot
Learn how to create Docker images for a Spring Boot application
Spring Boot and Caffeine Cache
Filed under Spring Boot
Learn how to use Caffeine cache with Spring Boot
How to Inject Git Secrets in Jenkins
Filed under DevOps
Learn how to securely inject git secrets into Jenkins pipelines and jobs
Copying Files to and From Docker Containers
Filed under Docker
Look at some different ways we can copy files to and from Docker containers
Spring Security: Check If a User Has a Role in Java
Filed under Spring Security
Learn various ways to check if an authenticated user has a specific role
Jenkins Slack Integration
Filed under DevOps
By setting up access tokens and plugins, we can keep our team informed about continuous integration with Slack notifications from our Jenkins builds.
Spring Boot – Using a Color Startup Banner
Filed under Spring Boot
Learn how to configure a colorful startup banner in Spring Boot.
Disable Spring Boot Banner at Startup
Filed under Spring Boot
Learn to disable the Spring Boot banner at the startup of an application.
Self-Hosted Monitoring for Spring Boot Applications
Filed under DevOps, Spring Boot
Use Spring Boot’s metrics actuator to create a self-hosted monitoring solution.
JHipster Authentication with an External Service
Filed under Security, Spring Security
Learn about JHipster’s use of Spring Security and how it simplifies authenticating with an external service.
Jest – Elasticsearch Java Client
Learn how to use the Jest HTTP Java client for Elasticsearch
MongoDB BSON Guide
Filed under NoSQL, Persistence
Learn how to interact with MongoDB using BSON.
Creating New APIs and Views in JHipster
Filed under Spring Boot
Learn how to create a new API inside a JHipster application and integrate that API into the front-end display
Creating New Roles and Authorities in JHipster
Filed under Security, Spring Boot
Learn how to create a new role that we can use to provide additional privileges to a user in a JHipster application
Conditionally Enable Scheduled Jobs in Spring
Filed under Spring
Learn different options to conditionally enable a Spring Scheduled Job
Debugging Spring Applications
Learn how to debug Spring applications for various application servers and IDEs
Create a Build Pipeline with Travis CI
Filed under DevOps
Learn how to build and deploy software using Travis CI pipelines
Logging to Graylog with Spring Boot
Filed under DevOps, Spring Boot
See how to save logs to Graylog from a Spring Boot application.
Writing IntelliJ IDEA Plugins
Filed under IDE
Learn how to write your own plugins for IntelliJ IDEA
Introduction to Micronaut Framework
Filed under Architecture, Java
A quick introduction to Micronaut Framework and how to create a simple web app.
Get and Post Lists of Objects with RestTemplate
Filed under HTTP Client-Side, Spring Web
Learn how to GET and POST lists of objects using Spring’s RestTemplate
Baeldung on Linux
- All
- Search (1)
- Files (1)
Guide to the Linux find Command
Learn how the find command can help us locate files and directories efficiently by using a combination of expressions and boolean logic
Baeldung on Computer Science
- All
- Web (2)
- Programming (1)
- Networking (1)
Do Sessions Violate RESTfulness?
Filed under Web
Take a closer look at what defines a session and whether or not sessions violate the principles of RESTfulness
Difference Between REST and HTTP
Filed under Networking, Programming, Web
Learn the primary differences between REST and HTTP.