title: Creating multiple bean instances of a class with different property values in spring configuration
body: <p>I am creating multiple bean instances of a class with different property values in spring configuration.
  For example:</p>
  
  <pre><code>&lt;bean id="myBeanA" class="MyClass"&gt;
    &lt;property name="identifier" value="A"/&gt;
  &lt;/bean&gt;
  
  &lt;bean id="myBeanY" class="MyClass"&gt;
    &lt;property name="identifier" value="B"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>I am new to Spring framework and I am just curious to know the pros and cons to doing this.</p>