RefactorFirst

Articles and tutorials about Java, Spring Boot, Software Development, and Programming. Learn about what is new in programming and look into how to optimize and write clean code.


Spring Cloud Gateway — Resource Server with Keycloak RBAC

In this article, we will be exploring how we can integrate a resource server with an API gateway that is integrated with Keycloak and enable role-based access control (RBAC). Introduction In my previous article “Spring Cloud Gateway Keycloak OAu... Read more

Spring Cloud Gateway Keycloak OAuth2 OIDC Integration

In this article, we would be looking at how we can integrate Keycloak with Spring Cloud Gateway using the OAuth2 OpenId Connect (OIDC). Introduction Keycloak is an open-source application, which provides identity and access management. It is sp... Read more

Distributed Tracing with Spring Cloud Sleuth And Zipkin

In this article, we would learn how we can implement distributed tracing and understand the key concepts of distributed tracing. Introduction In the case of a single giant application that does everything which we usually refer to as a monolith,... Read more

Micronaut JPA Application Performance on AWS Lambda

In this article, we would be looking into how we can deploy a Micronaut application providing GET, PUT and POST which can be called using an API Gateway. Then we would compare its performance when deployed with JVM runtime and as a native image. ... Read more

Micronaut JPA Function Performance on AWS Lambda

In this article, I would be talking about the performance statistics when running a Micronaut Application on a JVM runtime versus running it as a Native image on the Lambda. Introduction Micronaut became quite popular for their quick startup tim... Read more