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.

Further White Paper Details
PublisherIBM File FormatHTML
Date PublishedJanuary 2007
FormatWhite Papers   
Topics
Thin clients switch on digitally excluded

Thin clients switch on digitally excluded

Case study: Digital inclusion project tackles social exclusion in Liverpool more

Renault goes multilingual

Renault goes multilingual

Case study: Translation tech turns docs into 23 languages… more


Quick Sitemap Links: