Tags » Inversion Of Control

Library vs Framework

It is quite a common question in all of the software developers mind, what is the difference between a Library and a Framework? The two concepts are important but sometimes confusing. 209 more words

Software Engineering and Spring

What is Spring ?

Spring is a JavaEE framework which encompasses almost completely the J2EE specification.Spring comprises of 5 main functions.They are,


Spring Bean Instantiation and Dependency Injection

What is Spring IOC/DI?

Spring IOC (Inversion of Control) or dependency Injection is a concept where objects define their dependencies (for example A define that it needs B to be injected), however actual injection of these properties is left to the container when it creates instances of those dependencies (for example, when instance of B is created it is injected into A). 399 more words

Arbitrary Method Replacement

Dependency Injection and IoC Containers

In software engineering, dependency injection is a software design pattern that implements inversion of control for resolving dependencies. Dependency injection means giving an object its instance variables.

141 more words

Abusing dependency injection containers

What? You really want to abuse DI containers – one of the holy buzzwords of today’s software architecture?!

Yes, but please give me the time to explain the why and how. 2,142 more words


Coupling Design Patterns (Service Locator with a Factory)

Author: Cole Francis, Architect


My last editorial focused on building out a small application using a simple Service Locator Pattern, which exposed a number of cons whenever the pattern is used in isolation. 1,083 more words


Exploring the Service Locator Pattern

Author: Cole Francis, Architect


In object-oriented programming (OOP), the Dependency Inversion Principle, or DIP, stipulates that the conventional dependency relationships established from the high-level policy-setting modules, to the low-level dependency modules, are inverted (i.e. 1,854 more words