Beans are deployed in singleton mode by default, unless programmer specify otherwise. By changing the type to non-singleton (prototype), each request for a bean will result in a newly created bean so it is up to programming need what type to use Singleton or prototype.

Java Code:
<bean id="sampleBean"
class="sample.SampleBean" singleton="false"/>
<bean name="AnotherBean"
class="sample.SampleBeanTwo" singleton="true"/>