Tag Archives: annotations

I was wrong: Constructor vs. setter injection

Reading books or reference documentation is always good to get new ideas or to gain new insights. While reading the Spring reference documentation, I realized I was wrong! In one of my previous blog posts about Dependency Injection vs. Service … Continue reading

Posted in Java, Object Oriented Design, Spring | Tagged , , , , , , , , , , , | 26 Comments

Spring FactoryBean-managed wiring: Part 2

I finally succeeded in getting rid of the XML configuration for the Spring container, and managed to wire everything using Spring annotations. This post will describe what changes I had to make and what issues I experienced when converting the … Continue reading

Posted in Java, Spring | Tagged , , | 2 Comments