by vbezhenar · 8y ago · 0 comments
You may be interested in programmatic / functional bean registration[0], which was introduced in Spring Framework 5. It has a particular focus on Kotlin support[1][2].
[0] https://springoneplatform.io/sessions/programmatic-bean-regi...
[1] https://spring.io/blog/2017/08/01/spring-framework-5-kotlin-...
Unless you're working alone or unless everybody knows exactly how the whole system works, being explicit will save you a lot of time.
If you're still insisting, I suggest you to clone random mid-size spring project from github and do some non-trivial change (like implement automatic tracking of all changes or soft-deletes)