Exploring the Power of Java Records: Simplifying Data Classes and Enhancing Code Readability

Java Records ( JEP-395 ), introduced as a preview feature in JDK 14 and officially released in JDK 16, is a new feature that simplifies the creation of simple data carrier classes. Gone are the days of writing verbose boilerplate code for these classes; Java Records provides a compact syntax to declare these classes with…

Integration Testing in Spring Boot Application with Wiremock and Testcontainers

In this blog post we will see how to use Wiremock for Spring Boot integration testing using Testcontainers. In one of my previous blog post, I have shown you how to mock external API using Wiremock library.In that blog post we have used annotation and programmatic approach to start the Wiremock server. Wiremock server also…

Comparing Native Image Size of Java ,Spring Boot, Quarkus and Micronaut

In this blog post we will look at the native image size of Java, Java based frameworks Spring Boot, Quarkus and Micronaut. Based on the below tweet, I became curious to know the bare minimum size of a native application for Java and Java based frameworks. Code Used in Native Images I am trying to…