Code Quality
[EN] `@EventListener` in …
Hello everyone,
In modern, microservices-oriented architectures, we want to keep components as independent as possible. When service A performs an action (e.g. registers a user), service B should respond to it (e.g. send a welcome email) without A needing to know from B directly.
[EN] Why senior engineers …
Hello everyone,
If you’ve been around the Java world for a while, you know the picture: your code is littered with defensive queries like:
![[EN] `@EventListener` in Spring Boot: How to build loosely coupled components](/images/SpringBootEventListener_BlogHeader.png)
![[EN] Why senior engineers almost never write `!= null`](/images/Dont-use-not-equals-null.png)