Java
-

Java Platform Module System: Migration Strategies for Legacy Applications
The Java Platform Module System (JPMS), introduced in Java 9, represents one of the most significant changes to the platform.…
Read More » -

CompletableFuture vs Virtual Threads: When to Use Each
Java 21 introduced virtual threads as a production-ready feature, fundamentally changing how we approach asynchronous programming. For years, CompletableFuture has…
Read More » -

HTTP Client From OpenAPI Spec And Spring Boot Example
1. Introduction OpenAPI ( formerly Swagger) provides a standard way to describe Rest APIs and OpenAPI Generator tool to generate…
Read More » -

Handling Non-Serializable Parts in Java Serialization
Serialization in Java allows you to convert an object into a byte stream so that it can be stored or…
Read More » -

Java Record Patterns: Simplifying Data Navigation with Nested Deconstruction
Java 21 brought a transformative feature to the language: Record Patterns (JEP 440). After being previewed in Java 19 and…
Read More » -

Guide to Logging in Java Jersey Applications
Logging is a critical part of any production-ready RESTful service. It helps us trace requests, debug issues, and monitor performance.…
Read More » -

Mocking AmazonSQS in Unit Tests
Unit tests should be fast, isolated, and deterministic. When your Java application interacts with AWS SQS, you want to avoid…
Read More » -

How to Set Target Property Values to Null in MapStruct
In mapping scenarios, we may encounter situations where certain fields should be explicitly set to null during the mapping process,…
Read More » -

Fetching Host and Port in Java
In many Java web applications, there is a need to extract the host name and port from an incoming HTTP…
Read More »




