show Resource annotation is better then Autowired