title: define two beans of same class in single application context
body: <p>if I am defining two beans of same class and not giving any scope. Then how many instance of class will get created. for example</p>
  
  <p>in applicationContext.xml</p>
  
  <pre><code>&lt;bean name="testBean" class="com.test.Example"/&gt;
  &lt;bean name="myBean" class="com.test.Example"/&gt;
  </code></pre>