Overview If you don’t have much time, this table captures the core of the SOLID principles: Principle Description Single Responsibility Principle (SRP) Clients should not be forced to depend on […]
Get Keycloak Access Token Without Password
Overview Recently I had this use case: I need to integrate Android login with my web app which is using keycloak as IDP. Once the user logs in successfully, the […]
Develop the API (CRUD Wallet, Transaction)
Overview With all the setup done, let’s focus on making our app. The main purpose of the app is to let the user track their income and expenses. You’ve probably […]
Integrate Auth0 with Spring Boot Resource Server
Overview In the previous post, we integrated Angular with Auth0 successfully. In this post, we continue to integrate Auth0 with Spring Boot. The Spring Boot API is the resource server […]
DoubleConsumer vs Consumer
Overview One of the biggest questions I have when studying the functional interfaces in java.util.function is why the creators made DoubleConsumer (LongConsumer, IntConsumer) while there is already a Consumer interface […]
Java Consumer Functional Interface Tutorial
Overview In Java functional programming, Consumers are incredibly versatile and valuable, particularly when it comes to performing actions on data without returning values. Why use Consumers? Here are the main […]