Re: Wiring objects, IoC and Service Locator
Posted by aryehof on Jun 13, 2017; 6:29am
URL: https://forum.world.st/Wiring-objects-IoC-and-Service-Locator-tp4949280p4951174.html
Consider that in Java, one can only achieve polymorphic behavior across objects by using interfaces or inheritance. In Smalltalk one can achieve polymorphic behavior across objects just by having them understand the same message.
The need to have complex schemes for the wiring of objects in Java is a consequence of this.