View RSS Feed

Recent Blogs Posts

  1. Using Constructor Injection with Spring

    by , 11-15-2011 at 03:09 PM
    As we had mentioned in a previous tip, Inversion of Control (IoC) can be divided into two subtypes. There is Dependency Lookup which has two types, Contextualized Dependency Lookup and Dependency Pull); and Dependency Injection which also has two types, Constructor Injection and Setter Injection. In this tip we will look at Constructor Dependency Injection. Constructor Dependency Injection is Dependency Injection where a component's dependencies are provided to it in its constructor(s). The component ...

    Updated 11-30-2011 at 12:43 PM by Spring Framework

    Dependency Injection