By dzonelurker
via theserverside.com
Published: Apr 21 2008 / 15:21
"Programmatic Dependency Injection with an Abstract Factory," by Danny Hui, discusses the strength and weakness of applying Dependency Injection (DI) with a variant of Abstract Factory design pattern. This approach is especially suitable for such scenarios as creating local stateful objects with dynamic parameters, handling checked exceptions thrown during object creation, and dynamically wiring up objects. IoC frameworks, such as Spring IoC container, PicoContainer and Guice, do not offer good solutions for these issues or simply unable to address them.
SaveShareSend
Tags: frameworks, java, methodology
Add your comment