JAX London, 5-8 October 2020
The Conference for Java & Software Innovation

Let’s Build our own Dependency Injection Framework!

Session
BLIND BIRD Until June 25 ✓ Workshops Day for free ✓ Save up to £470 Register now

Most developers have experience with dependency injection (DI), whether it’s with Spring, Google Guice or CDI. But how many developers actually know how these frameworks make this magic happen? Or how dependency injection works in general? I, for one, didn’t have a clue. That’s the reason I built the Injectinator: my own DI implementation for Java SE. Creating the Injectinator has taught me a lot about DI and how the “magic” happens.

In this talk I will show the audience how Java reflection works, and how they can harness its capabilities to create their own dependency injection framework. The following subjects will be covered:

– Reflection in Java

– Inversion of Control

– What is Dependency Injection?

– Types of Dependency InjectionAll of this will be demonstrated with a live demo.

After this talk you will have a better understanding of how a DI framework works and you should be able to build your own DI framework.

Behind the Tracks

Software Architecture & Design
Software innovation & more
Microservices
Architecture structure & more
Agile & Communication
Methodologies & more
Emerging Technologies
Everything about the latest technologies
DevOps & Continuous Delivery
Delivery Pipelines, Testing & more
Cloud & Modern Infrastructure
Everything about new tools and platforms
Big Data & Machine Learning
Saving, processing & more