The Aspects Blog: The New Holy Trinity

Aspects Blog: The New Holy Trinity
is Adrian Colyer's excellent post about the relationship between aspects, annotations, and POJOs. This is required reading when investigating Spring 2.0's new POJO Dependency Injection, powered by annotations and AspectJ. Essentially, you may now DI your POJOs, even when you use the new operator. In other words, you can use Spring to Dependency Inject your POJOs without any ApplicationContext in sight, or without the ApplicationContext having even created your POJO.

> Dependency injection, annotations, and aspects are the three foundations on which the next generation of world-class POJO-based applications should be built.

Popular posts from this blog

Lists and arrays in Dart

Converting Array to List in Scala

Null-aware operators in Dart