title: Spring boot @ComponentScan vs @Import
body: <p>I and my friend were discussed about <code>@ComponentScan</code> and <code>@Import</code>. Which one is better?
  We have 2 different ideas.</p>
  
  <ol>
  <li><code>@ComponentScan</code>: Easy to use, import all beans from the component
  scan.</li>
  <li><code>@Import</code>: You need to know what component you want to use, no need to scan all.</li>
  </ol>
  
  <p>How about your idea? Which one is better for you to use?</p>
  
  <p>Thanks!</p>