Confused about @Resource, @Inject and @Autowired?
I’ve been using @Autowired in Spring for years and never really bothered to find out how it’s different from @Resource and @Inject. Until yesterday… There’s this blog post Spring Injection with @Resource, @Autowired and @Inject that explains the similarities and subtle differences really well.