Programming Languages White Papers
Use Inversion of Control in Method Signatures: IoC Isn't Just for Components
Overview The Inversion of Control (IoC) pattern is normally used for components. This paper describes how to use the pattern on method signatures to decrease the coupling between components and improve performance. IBM Global Business Services consultant Andre Fachat uses two examples to show the flexibility of this approach. Inversion of Control (IoC) and Dependency Injection (DI) are patterns that draw a lot of attention. They are mostly used within so-called IoC containers, which inject dependencies into a component in the form of other components. However, the patterns don't define the design of these dependency components' methods. In a classic design, value objects or data transfer objects in those methods are used as method parameters and return values when complex objects are required.
| Publisher | IBM | File Format | HTML |
|---|---|---|---|
| Date Published | January 2007 | ||
| Format | White Papers | ||
| Topics | |||



