- On setting bean scope to
prototype
only the values that areupdated
only that will changerest other
values will remain as it is.
`
<bean class="com.beanscope.demo.beans.Student" id="student" scope="prototype">
<property name="rollno" value="101"/>
<property name="name" value="Amit"/>
</bean>
`