Kotlin and Dependency Injection Using Spring Value Annotation

A look at field injection and constructor injection

billydharmawan
Better Programming
Published in
6 min readDec 4, 2020

--

Serum
Photo by Kelly Sikkema on Unsplash.

Spring is a very popular framework in the world of Java, and one of the reasons behind its popularity and high usage rate is its dependency injection mechanism.

Kotlin, on the other hand, is a JVM language created by the team at JetBrains that is…

--

--