title: what is the difference between @Bean annotation and @Component annotation at Spring?
body: <p>It might be a very simple question for you.But I read lots of documents and I am totally confused.We can use @Component instead of @Bean or @Bean instead of @Component(as well as @Repository @Service @Controller) ?</p>
  
  <p>Cheers </p>