求教Java的几个注解中到底什么时候该用@Target,@Name组合以及什么时候用@Component,@Resource组合?感觉这两对组合的功能真的很像,真心分不清楚。。。求开导 [ema1][ema1]