The hexagonal-like architectures are helping to increase the longevity of software, effectively eliminating the coupling between the coded business knowledge and the technology.
In a couple of posts I will share with you mimacom's way of tackling Onion Architecture with Spring Boot.
In this first part I will give you more insights about it through a github-hosted example showing a simple implementation of ShoppingList's API's.
In Event-driven architecture there are unique identifiers everywhere: at entity level, at event level, at process level etc.
In this blog post, I will show you a de facto standard for how you could easily generate, persist, serialize and deserialize IDs natively through Kafka, Java and JPA.
To test WebClient code, we need a different setup than for RestTemplate based clients.
In WebFlux applications the use of the OkHttp MockWebServer is recommended.
Every now and then your PO (Product Owner), business analyst or project leader will ask you to import an Excel file.
You will decline, he will insist and, in the end, you will give in.
Writing tests is time consuming and can contain many repetitive tasks like setting up the specific configuration and cleaning the context after the test.
To best follow the DRY (Don't Repeat Yourself) principle, I started implementing JUnit4 rules.
In this blog post, I will show how I migrated a JUnit4 rule to JUnit5.