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 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

Boost Java Application Performance With Micronaut Native Image

In this article, I would show how you can achieve an incredibly quick start-up time for your java application in the order of around 90 ms. Yes, 90 milliseconds. Introduction Nowadays, we are all familiar with spring and spring boot to provide... Read more