-
Core Java
Java Object Mapping Made Easy: A Guide to MapStruct
Juggling data conversions between different object structures can be a tedious and error-prone task in Java applications. Traditionally, developers write…
Read More » -
Enterprise Java
Spring MockMVC Get JSON As Object
1. Introduction Spring MockMVC is the Spring MVC testing framework which performs Spring MVC request handling and response asserting via…
Read More » -
Core Java
Casting Maps into Complex Objects in Java
In Java, there is often a need to convert a Map to a complex object (POJO – Plain Old Java…
Read More » -
Core Java
Implement Elvis Operator in Java 8
In Java 8, the Elvis operator (often written as ?: in Groovy and Kotlin) is not available as a built-in…
Read More » -
Core Java
Choosing the Right Java ORM for Your Project
Java applications often interact with relational databases to store and retrieve data. This can involve writing tedious and error-prone SQL…
Read More » -
Core Java
Moshi java.time.LocalDate requires explicit JsonAdapter
Let us delve into understanding why Moshi java.time.LocalDate requires an explicit JsonAdapter to be registered. 1. Introduction Moshi is a…
Read More »