title: Spring boot: Jersey ResourceConfig needs annotating?
body: <p>I am just getting started with Spring Boot and I wanted to implement a ResourceConfig and I finding some conflicting ideas.</p>
  
  <p>Take the following</p>
  
  <pre><code>@Component
  public class JerseyExampleConfig extends ResourceConfig {
  </code></pre>
  
  <p>The above is annotated with COMPONENT</p>
  
  <pre><code>@Configuration
  public class JerseyExampleConfig extends ResourceConfig {
  </code></pre>
  
  <p>Which one is correct?</p>
  
  <p>I thought annotating with Configuration would be the correct way but it appears that the Component is used in examples.</p>
  
  <p>Any ideas ?</p>
  
  <p>Whats the difference?</p>