Dependency Injection
-
Enterprise Java
Dependency Injection Options for Java
I wanted to take some time to put together a summary of some popular dependency injection (DI) frameworks for Java.…
Read More » -
Scala
Dependency injection with Scala macros: auto-wiring
You can look at dependency injection as a fancy name for passing parameters to a function (or constructor arguments to…
Read More » -
Enterprise Java
How I explained Dependency Injection to My Team
Recently our company started developing a new java based web application and after some evaluation process we decided to use…
Read More » -
Enterprise Java
Spring vs Guice: The one critical difference that matters
Spring objects are recognized based on their names It doesn’t matter whether you use XML or Java config, a Spring…
Read More » -
Enterprise Java
Spring 3: Type safe dependency injection
Before jumping to Type Safe Dependency Injection from Spring, I would like to to discuss the way we have been…
Read More » -
Scala
DI in Scala: Cake Pattern pros & cons
I’ve been looking at alternatives for java-style DI and DI containers which would use pure Scala; a promising candidate is…
Read More » -
Enterprise Java
Rich Domain Model with Guice
The anaemic domain model is a really common anti-pattern. In the world of ORM & DI frameworks we naturally seem…
Read More » -
Enterprise Java
On DTOs
DTOs, or data-transfer objects, are commonly used. What is not s? commonly-known is that they originate from DDD (Domain-driven design).…
Read More » -
Enterprise Java
On domain-driven design, anemic domain models, code generation, dependency injection and more…
Eric Evans has formulated what domain-driven design (DDD) is. Martin Fowler is a great supporter and advocate of DDD. These…
Read More »