Re:Printf(“%s %s”, dependency, injection)
by pjmlp on Wednesday October 20, 2021 @12:44AM
(#28926853)
J2EE started as a Objective-C framework and was ported to Java as Sun ramped down their OpenSTEP efforts.
> NEO was re-positioned as a Java system with the introduction of the "Joe" framework,[2] but it saw little use. Components of NEO and Joe were eventually subsumed into Enterprise JavaBeans
https://en.m.wikipedia.org/wiki/Distributed_Objects_Everywhe...
And we did just the same with objects factories and directories on the listed technologies.
Re:Printf(“%s %s”, dependency, injection)
by eternalban on Wednesday October 20, 2021 @04:04AM
(#28928030)
Thanks, didn't know this bit of history.
DI allows a generic runtime to instantiate and compose component graphs [via declarative initialization contexts]. The idea was we'd have reusable components. Somewhere along the line came Spring ("J2EE is too complex" lol) and before you knew it, any old application was using DI and now (per a scan of comments in this thread) everyone is quite confused what is the purpose of "passing variables to your functions" in this obscure manner.