title: Resource not working with scope prototype?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4093504/resource-vs-autowired">@Resource vs @Autowired</a>  </p>
  </blockquote>
  
  
  
  <p>I've defined a Spring <code>@Controller</code> with <code>@Scope("request")</code> and used <code>@Resource</code> to get a service bean defined with <code>@Scope("prototype")</code>, however at every page reload I always get the same instance of the service bean.</p>
  
  <p>I found out that changing <code>@Resource</code> to <code>@Autowired</code> actually works in the way that I expect, and I get a new instance of the service bean for each page reload.</p>
  
  <p>Is this an expected behaviour? Am I missing some understanding on the difference between <code>@Resource</code> and <code>@Autowired</code>?</p>