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.
Read more
In this series of posts we will create an application using react and redux, in which we will handle relational data. In this first part we will be modelling the store.
Read more
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.
Read more
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.
Read more
Testing pessimistic locking handling in JPA is tricky because of the lack of JPA support of LockTimeout by different RDBMS providers.
Yet leaving a critical part of the code untested is against the software craftsmanship's principles.
In this blog post, I will show you through the medium of 3 GitHub projects how you could test it within Spring Boot Application against Oracle, MySQL and PostgreSQL.
Read more