Demystifying Dependency Injection - What It Is and Why It Matters
Most projects use Dependency Injection in some form. However, many developers take it for granted and do not really question what it is or why they are using it in the first place. This article aims t...
Last year I gave the talk "Demystifying Dependency Injection" at a few #Java conferences and Meetups ( #JconSlovenia, @javaforumnord.bsky.social, #JavaCro, @jugmuenster.bsky.social , @openvalue.eu ). I am now breaking that talk up into a series of articles.
jensknipper.de/blog/demysti...
19.01.2026 18:45
π 2
π 2
π¬ 0
π 0
There is. They actually provide a Spring integration, JUnit extensions and the manual one.
The code is kind old, ~5 years I think and I got no idea why I took the most boilerplate way to do it
11.01.2026 12:34
π 1
π 0
π¬ 0
π 0
Ah yeah, I then usually add a webmail client like RoundCube as a container
11.01.2026 09:30
π 1
π 0
π¬ 1
π 0
I always love using Green mail. Even has JUnit rules and everything.
Got an example on how to use it here:
github.com/JensKnipper/...
11.01.2026 08:51
π 1
π 0
π¬ 3
π 0
another robot highlight for 2025: man wearing humanoid mocap suit kicks himself in the balls
27.12.2025 17:27
π 47052
π 14488
π¬ 953
π 3137
Repost mit Alt
18.12.2025 00:06
π 148
π 73
π¬ 1
π 2
Our OpenValue Wrapped 2025 is here! How many cups of coffee? How many AI pair programming sessions? And did we deploy on Fridays?
Watch the GIF to find outπ
#OpenValueWrapped #BetterSoftwareFaster
04.12.2025 11:35
π 3
π 3
π¬ 0
π 0
Is this cheese grater conscious? Many users feel they're talking to a real person. Scientists say it's time to consider whether they're onto something.
25.11.2025 20:21
π 5541
π 1397
π¬ 94
π 39
Looks like Bobby Tables is going to sign up soon π«
17.11.2025 19:40
π 5
π 0
π¬ 1
π 0
JUnit Logo
#JUnit has a new logo!!! π
To everyone who submitted proposals and participated in the design discussions...
Thank You! ππΌ
github.com/junit-team/j...
08.11.2025 14:54
π 56
π 11
π¬ 1
π 1
Cat exhausted after having house full of people from Halloween partyπΉ
#Catsky #Caturday #Animals
01.11.2025 21:32
π 194
π 22
π¬ 6
π 1
Illustration mit einem groΓen blauen Kreis, der 'unsere Vorurteile' darstellt, unter der Γberschrift: 'Was wir an der Hautfarbe anderer Menschen erkennen kΓΆnnen'. Darunter die Website
antidiskriminierungsstelle.de./
Aus (immer noch) aktuellem Anlassβ¦
29.10.2025 12:49
π 2625
π 807
π¬ 18
π 15
When travelling abroad for work I try to take a few days off, discover the country and recharge batteries. Also this time. Among other things I went hiking in beautiful UΔka national park, where the lighting and the autumn colored leaves created a beautiful scenery.
26.10.2025 21:13
π 3
π 0
π¬ 0
π 0
I presented my talk 'Demystifying Dependency Injection' where I showed why we want to use DI in the first place, the different injection types and how the wiring is solved. With that knowledge we were ably to demystify how DI is done by all the major frameworks and learned how to do it manually.
26.10.2025 21:13
π 1
π 0
π¬ 1
π 0
Just a few more days to go and I will speak at #JavaCro about Dependency Injection.
#Java
09.10.2025 17:40
π 5
π 2
π¬ 0
π 0
Sitting a stray #cat, realizing the world needs more baby cat burritos
06.10.2025 14:13
π 2
π 0
π¬ 0
π 0
It's @devoxx.com week - time for our traditional Wednesday drinks! πΊ Join the unofficial Devoxx afterparty on Oct 8, 20:00-23:00 at CafΓ© Bier Central, Antwerp. Hosted by your OpenValue friends. Everyone welcome - the more the merrier! Free Belgian beers and great conversations guaranteed! #devoxx
06.10.2025 10:10
π 4
π 2
π¬ 0
π 0
Oder so.
27.09.2025 08:15
π 47
π 19
π¬ 0
π 0
Last week I had the pleasure to speak at @javaforumnord.bsky.social about Dependency Injection. I showed why we want to use it, different injection types and how the wiring is solved.
With that knowledge we were ably to demystify how DI is done by all the frameworks and learned how to do it manually
22.09.2025 17:29
π 1
π 0
π¬ 0
π 0
Just one more month to go until @javaforumnord.bsky.social
11.08.2025 15:06
π 1
π 0
π¬ 0
π 0
09.08.2025 00:32
π 6019
π 911
π¬ 219
π 83
#drinkingwhileothersareworking
29.05.2025 15:58
π 10
π 1
π¬ 1
π 0
Shortcut sorcerer
You havenβt touched a mouse in years. You summon code with keystrokes and pure willpower.
I am Shortcut sorcerer. Unleash your inner Duke and win a limited-edition T-shirt! #Java30WithIntelliJIDEA www.jetbrains.com/lp/java-30/s...
26.05.2025 07:13
π 4
π 0
π¬ 0
π 0