title: What is difference between these 2 Spring IOC injections?
body: <p>What is difference between these 2 injections ?</p>
  
  <pre><code>@Autowired
  private DocumentDAO documentDao;
  
  @Resource(name = "documentDao")
  private DocumentDAO documentDao;
  </code></pre>