A lightning talk walkthrough of building a minimal dependency injection container in Java to demystify Spring's 'magic'. The speaker, with 8 years of Java/Spring experience, created a project called Bean Peak that mimics Spring's core lifecycle in four steps: scan (find classes annotated with @MiniService), instantiate (create objects), inject (set fields marked with @Inject), and store (keep instances in a container). The demo shows custom annotations replacing Spring's @Component and @Autowired, with reflection used to set field dependencies at runtime. The key takeaway is that rebuilding a simplified version of a framework forces genuine understanding of how it works.
•11m watch time
Sort: