Building a Distributed Online Store with Spring Boot, RabbitMQ, and OpenTelemetry

In this post, we’ll walk through the architecture and implementation of a simple microservices-based online store built with: Microservices Architecture Our online store is made up of the following services: Service Responsibility catalog-service Manages products (name, price) order-service Handles orders, triggers workflow events inventory-service Reserves stock when an order is placed payment-service Simulates payment processing … Read more

Spring Boot SSE With SNS, SQS and S3

Overview A classic pattern in web applications is that the user requests something that is not immediately available, your app then does a heavy computation and returns the result to the user. However, since the task is long-running, you cannot make the user wait for the result. One of the easiest ways is to email … Read more

Better Swing Layout With MigLayout

Overview If you are working on swing desktop app, MigLayout is a great library to help you layout your app quickly. MiGLayout revolves around flexibility and simplicity while offering powerful features for fine-grained layout control. Here are the main concepts to understand when working with MiGLayout. 1. Components and Cells 2. Layout Constraints Here are … Read more