title: Are @Bean and @Component annotations the same but for different targets in Spring Framework?
body: <p>Am I correct, thinking that @Bean and @Component annotations are the same, but first is for classes and another is for methods?</p>
  
  <p>In both cases container just creates appropriate beans, right?</p>