Enterprise Java
-
OpenAPI Custom Generator
OpenAPI is a powerful tool for generating code from API specifications, but sometimes, default generators do not meet specific project…
Read More » -
Micronaut Error Handling
Error handling is one of the main concerns when developing systems. On a code level, error handling handles exceptions thrown…
Read More » -
Event-Driven Microservices with Spring Boot & Kafka
Event-driven architecture is ideal for microservices because it decouples services, making them more scalable and resilient. Apache Kafka, paired with…
Read More » -
JPA CAST vs TREAT
In JPA (Java Persistence API), managing polymorphic queries involving inheritance hierarchies is a crucial aspect. When working with such queries,…
Read More » -
Multiple Criteria in Spring Data Mongo DB Query
MongoDB, a leading NoSQL database, offers flexibility and scalability, making it a popular choice for modern applications. When working with…
Read More » -
Spring Reactive switchIfEmpty() Example
The switchIfEmpty operator in Spring Reactive allows developers to provide an alternative publisher that is subscribed to when the source…
Read More » -
Generate Java Classes From Avro Schemas Using Gradle
In this tutorial, we’ll learn how to generate Java classes from an Apache Avro schema.First, we’ll familiarize ourselves with two…
Read More » -
Spring MVC Testing: SpringBootTest vs WebMvcTest
When testing RESTful applications in Spring Boot, choosing between @SpringBootTest and @WebMvcTest is essential for efficient testing. These annotations serve…
Read More »