dependency injection

Dependency Injection Options for Java

Shannon Griswold Java, Technology Snapshot 12 Comments

I wanted to take some time to put together a summary of some popular dependency injection (DI) frameworks for Java. This is a high-level overview of what’s available. First off, what is dependency injection? “Dependency injection is a software design pattern that allows the removal of hard-coded dependencies and makes it possible to change them, whether at run-time or compile-time.” …

Dependency Injection for Android Development: Part Two

Mark Fricke Java, Mobile, Technology Snapshot, Tutorial 3 Comments

Overview This is the second post in a series written on Dependency Injection for Android Development. In this blog, I will discuss how to take advantage of RoboGuice to inject views and other Android services into the project. If you would like a review of Dependency Injection (DI) or the basics of using DI in Android, please review part one. In …

Dependency Injection for Android Development: An Introduction

Adi Rosenblum Java, Mobile, Technology Snapshot, Tutorial 6 Comments

Overview For many years now, Object Oriented developers have relied on various Dependency Injection frameworks while developing anything form desktop to web applications. For both Java and .NET developers, the ever-popular Spring Framework has become a gold standard for IT shops regardless of their size (from small entrepreneurial companies up to large enterprise Fortune 500-sized companies). If you wish to …