title: Where is the @Autowired annotation supposed to go - on the property or the method?
body: <p>Which is more correct?</p>
  
  <p>This (with the @Autowired annotation on the method)?</p>
  
  <pre><code>@Controller
  public class MyController
  {
      private MyDao myDao;
  
      @Autowired
      public MyController(MyDao myDao)
      {
          this.myDao = myDao;
      }
  </code></pre>
  
  <p>This (with the @Autowired annotation on the property)?</p>
  
  <pre><code>@Controller
  public class MyController
  {
      @Autowired
      private MyDao myDao;
  
      public MyController(MyDao myDao)
      {
          this.myDao = myDao;
      }
  </code></pre>
  
  <p>Where is the @Autowired annotation supposed to go?</p>