-
Testcontainers in Java Spring Boot
Testcontainers is an open source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything that can run in a Docker container.(1) In this… Read more
-
Spring Boot Test – JUnit5&Mockito
In this article, we’re going to dive into the spring-boot-starter-test dependency that’s used for writing tests in Spring Boot projects. We’ll go over the important libraries included in this dependency,… Read more
-
Spring Data Redis Cache – Redis-CLI
In this article, I will provide an example of how to use PostgreSQL as a database and Redis for caching in a Spring Boot project. We will be using Docker… Read more
-
Elasticsearch and Kibana with Docker Compose – Spring Boot Example
Docker, a popular containerization platform, provides an excellent solution for distributing and managing software applications quickly. Docker Compose, a powerful tool, is used to orchestrate the simultaneous operation of multiple… Read more
-
Spring Boot – Messaging with RabbitMQ
The microservices architecture is an important aspect of modern application development. It involves breaking down the application into small, independent services, with each running as a separate microservice. However, enabling… Read more
-
Spring Annotations: @Component vs. @Bean – Best Practices
The annotations @Component and @Bean are both essential in defining and managing beans in Spring applications. When I first started learning Spring Boot, I found it difficult to understand when… Read more
-
Object-Oriented Concepts: Associaton, Aggregation, Composition and Inheritance
This blog post aims to explain object-oriented programming concepts and the distinctions between relationship types like association, aggregation, and composition. It also delves into the comparison between inheritance and composition.… Read more