Tag Archives: dependency injection

Testing a subclass-as-wrapper

The problem I’m working with an oldie-but-goodie framework. This framework has some interesting naming conventions. Say for instance, they call subclasses wrappers. We can use subclasses and wrappers for the same thing. However, one of them is more testable than the other. Let’s see the similarities first. … Continue reading

Posted in java, programming | Tagged , , , , , , , | Leave a comment

Lessons learned from the IoC framework comparison.

In the previous posts I compared a few IoC frameworks. one for tapestry-di one for DI vs template method one for guice, spring and tapestry-di one for a slideshow It was an interesting journey to write the prototypes, then the posts … Continue reading

Posted in programming | Tagged , , , | 2 Comments

Dependency Injection frameworks

If you want to deeply understand a concept, then you need to see several implementations. This is why I created the following slides. Based on the feedback, I’m kinda alone with this mindset. Anyway, I hope you find them useful.

Posted in java, programming | Tagged , , , , , , | 1 Comment

Template Method or Dependency Injection?

Mystical Dependency Injection used was always something very mystical to me. Until I learned what it’s really about. I’d like to share this revelation with you. So let’s take an easy problem and solve it in couple of different ways.

Posted in java, programming | Tagged , , , | 1 Comment

Learning Tapestry, the Inversion of Control Framework

The framework I recently started to use Apache Tapestry for work. Tapestry is a web component framework with ambitious goals. E.g. it’s a web component framework that’s easy to extend. Also, it gives you the ease of development of scripting languages … Continue reading

Posted in java, programming, web | Tagged , , , | 4 Comments