The session means the lifecycle of the instance is the same as the session in the web container, which seems shorter than the singleton but longer than the prototype.
<service.TestService id="testService" scope=”singleton”/>
<service.TestServiceInterface id="testServiceProxy" Instantiate="factoryElement" FactoryClass="com.ibm.btt.remote.ServiceProxyFactory" serviceUrl="http://localhost:9080/BTTMCATestWeb/JavaConnector" serviceId="testService"> <ref Injection="httpClient" refId="httpClient" /> </service.TestServiceInterface> <org.apache.commons.httpclient.HttpClient id="httpClient" />