Tagged articles
2 articles
Page 1 of 1
Cognitive Technology Team
Cognitive Technology Team
May 7, 2022 · Fundamentals

Understanding Java Context ClassLoader and How It Breaks the Parent Delegation Model

This article explains why Java introduced the Context ClassLoader to bypass the parent‑delegation model, demonstrates its role in SPI mechanisms such as JDBC driver loading, compares class loader behavior in Spring Boot development versus packaged execution, and highlights common pitfalls when using custom class loaders.

ContextClassLoaderJavaSPI
0 likes · 8 min read
Understanding Java Context ClassLoader and How It Breaks the Parent Delegation Model