Making ServiceLoader usable: a provider factory

236 · · July 12, 2026, 6:33 p.m.
Summary
The author discusses their recurring use of Java's ServiceLoader for decoupling code dependencies, applying it successfully to abstract JSON and JWT handling, showcasing how the design allows easy swapping of implementations without affecting caller code.