Tag Archive | "Dependency Injection"

Sometimes HashMaps are enough, part three

Oktober 7, 2008 No comments yet

This part will be a short one because I have to pack for my vacation. Yes, I will leave this cold and miserable weather, heading south to fill up my energy again (I am running on solar power). Last time we switched from a static approach to an instance based one and introduced a register-method [...]

Sometimes HashMaps are enough, part one

Oktober 2, 2008 No comments yet

I guess we have all heard about how bad static Singletons are and how Dependency Injection (DI) helps to make our application flexible beyond crazy. One common thing to do with DI is creating and using Singletons. I have been working a lot with DI frameworks in the past, mostly Spring and Google Guice. Although [...]


Subscribe