Java
-
@Context Complex Source Mappings Example
1. Introduction The org.mapstruct.Context annotation from MapStruct, a Java annotation processor for generating type-safe bean mapping code, marks a parameter…
Read More » -
HATEOAS with gRPC: Is It Possible? (And Should You Do It?)
HATEOAS (Hypermedia As The Engine Of Application State) is a REST constraint that guides clients through application states using hypermedia…
Read More » -
HATEOAS + Spring Security: Why Some Links Are Missing for Certain Roles
ATEOAS (Hypermedia As The Engine Of Application State) is a core constraint of REST application architecture that makes REST APIs…
Read More » -
Running Java Programs in the Background
Running a Java program in the background is crucial for keeping applications or services active even after terminal sessions end.…
Read More » -
Spring Boot HashiCorp Vault Reload SSL Certificates Example
1. Overview In modern microservices architectures, managing SSL certificates securely and efficiently is critical. This guide explains how to use…
Read More » -
Java Yauaa User Agent Parsing Example
1. Overview User agent parsing is essential for tailoring user experiences based on the type of device, browser, or operating…
Read More » -
JSTL forEach Index Values Example
JSTL is a powerful tool for simplifying Java-based web applications, particularly when working with dynamic data in JSP pages. One…
Read More » -
Testing Conditional Links with @WithMockUser in Spring Security
Hypermedia APIs provide not just data but also actions that users can take, often exposed as conditional links or affordances.…
Read More » -
When to Use Affordance vs. Link in Hypermedia Controls
Hypermedia as the engine of application state (HATEOAS) brings a new level of discoverability and self-documentation to REST APIs. In…
Read More »