title: What is difference between @Reference & getScriptHelper() in CQ?
body: <p>I am looking into some CQ code and found that services can be obtained using either</p>
  
  <pre><code>@Reference
  
  private JCRService searchService;
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>TaxonomyService taxonomyService = getScriptHelper()
              .getService(TaxonomyService.class);
  </code></pre>
  
  <p>What is the difference betwen two approaches and which one is better?</p>