When building with gradle we may wish to stay on the latest version of each of our dependencies. We look at a few ways we can achieve this.
Here's what I've written (so far):
Baeldung on Java
- Java (2)
- Spring Boot (1)
- Spring (1)
- Persistence (1)
- NoSQL (1)
- Logging (1)
- JPA (1)
- Gradle (1)
For debugging purposes, it can be useful to list the application properties within a Spring Boot application. We look at a few techniques for outputting and filtering runtime properties.
Learn how to use the JNI RegisterNatives() method, why it’s useful, and what the java.lang.Object.registerNatives() method does under the hood.
Learn how to chain constructors in Java.
Learn how to check if a field exists in MongoDB.
Learn how to return multiple entities in the JPA query.
When setting up a bean post-processor, we can get a warning from Spring; “not eligible for auto-proxying”. We explore the cause of this issue and how to resolve it.
Baeldung on Ops
- Docker (2)
- Kubernetes (1)
When running Java applications in Kubernetes, we may wish to see a heap dump for diagnostic purposes. We look at how to extract a heap dump from a running pod.
We can use environment variables when performing a docker build. These can be hard-coded into our Dockerfile, or passed as parameters into the build process. We look at how to use these techniques to build variations of image from the same Dockerfile.
When running a docker container with a name we’ve used before, we’ll encounter an error. We look at a few ways to resolve this issue.