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.
Here's what I've written (so far):
Baeldung on Java
- Persistence (2)
- Java (2)
- Docker (2)
- Spring Boot (1)
- Spring (1)
- NoSQL (1)
- Logging (1)
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.
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.