Classloading in Action #underthehood
summary
Explains how Java ClassLoaders work in detail and how to implement custom ClassLoaders. Covers practical examples such as how Spring Boot builds an uber-jar without shading, using ClassLoaders to modularize applications, and ClassLoader techniques to manage dependency conflicts, plus caveats and comparisons to alternative approaches.
AI-written summary · about
chapters (8)
- 0:00Classloading introduction
- 1:05Classloader basics
- 13:46Writing custom classloaders
- 22:27Synthetic classes
- 33:02Breaking delegation model
- 42:35Shading vs relocation
- 55:18Plugin system with isolation
- 1:00:25Summary
related talks
45mDeep Dive into the .class File and the Class Loader
59mProgramming with ServiceLoader API in Java
46mThe Hitchhiker’s guide to Java class reloading
43mDeep Dive into the .class File and Even Deeper
01h 31mIt's a Kind of Magic: Under the Covers of Spring Boot
42mSpring Boot's boot: diving into the startup sequence
48mThe Java Module System in practice
47mDemystifying Spring Boot Magic
