Core Java
-

Runtime Security in Java: Input Validation, Sandboxing, Safe Deserialization
Your Java application just got pwned. An attacker sent a crafted JSON payload, your deserialization code helpfully executed it, and…
Read More » -

Java Jersey & Jackson ObjectMapper Example
When building REST APIs with Jersey (a JAX-RS implementation) and Jackson for JSON serialization, developers often need to customize how…
Read More » -

Contract Testing Java Microservices with Pact: Ensuring Safe Deployments Across Teams
You’re about to deploy your payment service. Your tests pass. Code review looks good. But three other teams depend on…
Read More » -

Serverless Java: When it Helps, When it Hurts, and How to Overcome the Limits
Java and serverless computing seem like an odd couple. Java’s enterprise heritage clashes with serverless’s demand for quick starts and…
Read More » -

Global Test Initialization in JUnit 5
In testing frameworks, it is often necessary to perform some setup tasks before any test in the project is executed.…
Read More » -

Testing Micrometer Metrics in Spring Boot Applications
Micrometer is a metrics collection library that provides a vendor-neutral API for instrumenting applications. In a Spring Boot environment, it…
Read More » -

The Power of Java Stream API
Java 8 introduced the Stream API, and it fundamentally changed how we work with collections. Instead of writing verbose loops…
Read More » -

Event-Driven Architecture in Monoliths: Incremental Refactoring for Java Apps
The conventional wisdom suggests event-driven architecture belongs in microservices architectures, where services communicate asynchronously through message brokers. But some of…
Read More » -

Hexagonal / Onion Architecture in a Real Java Codebase: Migration Strategies
Refactoring a legacy Java application to use Hexagonal Architectureāalso known as Ports and Adapters or Onion Architectureāsounds appealing in theory.…
Read More »



