with Inversion Control
summary
Built a tiny Java dependency injection runtime that scans the classpath with Reflections, registers classes marked by @injectable/@inject annotations, and instantiates dependencies via reflection-based constructor and field injection. It demonstrates a controller resolved with a service, recursion to build dependency trees, and a simple strategy for interfaces that maps implementations to interface types. Code is a hand-rolled example, not production-ready, and the presenter promises a GitHub repo for the working demo.
AI-written summary · about
chapters (7)
- 0:00Inversion of Control intro
- 1:24Manual dependency problems
- 2:28Dependency injection solution
- 3:54How DI containers work
- 8:10Live debugging DI
- 12:53Handling interfaces in DI
- 13:34DI frameworks Q&A








