Learn multiple ways to reinitialize singleton Spring beans at runtime.
Senior Java Developer. Certified Azure Developer. Builds microservices for a living using Spring Boot and distributed architecture components like Redis, SQL, Kafka, and RabbitMQ.
Here's what I've written (so far):
Baeldung on Java
- Testing (3)
- Spring Data (1)
- Spring Boot (1)
- Spring (1)
- Logging (1)
- Docker (1)
Learn a few ways to write unit tests for singletons using Mockito.
Learn techniques for testing methods that call System.exit() when using JUnit.
Explore how to log messages to both file and console using the Apache Log4j2 library.
Learn how to use Testcontainers while testing a Spring Boot application that uses Redis.
Learn how to start a Spring Boot application without having a running database when using Spring Data JPA.
Learn how to use the Docker Registry API to list images and tags in a remote registry.