How to Manage Profiles in Spring Boot (with Docker)?

Spring Boot allows you to use profiles to separate configurations by environment, such as development (dev), staging (staging), and production (prod). This makes it easier to manage settings like database URLs, feature flags, and other environment-specific behaviors. In this post, you’ll learn how to: 📁 File Structure 🔧 Configuration Files 🔧 application.properties (common) 🔧 application-dev.properties…

Read More

How to use Domain Events in Spring?

In the world of Domain-Driven Design (DDD), Domain Events are a powerful way to notify different parts of a system that something meaningful has occurred within the core domain. Within the Spring ecosystem, event support is simple yet highly effective for decoupling components, improving cohesion, and enabling systems to evolve gracefully. In this post, you’ll…

Read More
Quarkus Framework for Java

How to create an interceptor in Quarkus?

When developing REST APIs, it’s common to want to intercept requests and responses to log information, validate data, or even apply business rules and security checks. In JAX-RS-based applications, like those using Quarkus, this is possible using request and response filters. In this post, we’ll explore how to implement a simple interceptor in Quarkus that…

Read More
Docker

Docker: Essential Commands Every Developer Should Know

Docker has revolutionized the way developers package, distribute, and run applications. With it, you can create portable and standardized environments with incredible ease. To make the most of this powerful tool, it’s essential to master some basic commands that are part of daily work with containers, images, and networks. In this post, we’ll explore the…

Read More