Spring series, part 2: @Qualifier and @Resource
Last time I talked about @Primary and @Autowire as a useful means of dependency injection. Today I will brief you on how @Autowire compares to its more standard counterpart @Resource and demonstrate @Qualifier as a handy complement to @Autowire. Both @Autowire and @Resource serve the same purpose, i.e. finding the right bean, but work in…