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 …