Following Bean Definition to the Spring container will create a new instance of the SampleBean using the ' sampleBean ' bean definition for the lifetime of a single HTTP Session.

Java Code:
<bean id="sampleBean" class="com.abc.SampleBeanession"/>