title: When to use Qualifier and Primary in Spring
body: <p>I have read that @Qualifier can be used in Injection phase whereas @Primary is used in Configuration phase. Am still unclear when to use which.</p>
  
  <p>Also I have below doubts</p>
  
  <ul>
  <li><p>can @Primary and @Qualifier be used together? if yes does @Qualifier take precedence?</p></li>
  <li><p>can @Primary be used with @Autowired?</p></li>
  <li><p>How is the Injection phase different from Configuration phase, this in respect to Spring beans</p></li>
  </ul>