title: ImportBeanDefinitionRegistrar vs BeanDefinitionRegistryPostProcessor
body: <p>My use case deals with creating beans dynamically. I find they are two options to register bean definitions:
  <code>ImportBeanDefinitionRegistrar</code> and <code>BeanDefinitionRegistryPostProcessor</code></p>
  
  <p>I wanted to understand the difference between two.</p>
  
  <p>Thanks,
  Prateek</p>