Running the Teller Sample

Different from the other samples, to run Rich Client sample, you need to deploy the server side application BTTMultiChannleSample.ear (created in Creating BTT Multichannel Sample) to WebSphere® Application Server first. Then do the following steps:
  1. Configure the Client/Server service:

    Expand BTTSampleClient > src > btt , and double-click service.xml. This file configures BTT services, including the Client/Server service.

    The CSClient configuration is as follows:
    <CSClient id="realCSClient"
    			serverName="http://localhost:9080/BTTSampleWeb"
    			sessionType="NonSecure" retryOnError="true"
    			csAssignServletName="/servlet/com.ibm.btt.cs.servlet.CSAssignServiceIdAndServerTIDProtocolServlet"
    			csNotifClToSrvServletName="/servlet/com.ibm.btt.event.CSNotifClToSrvProtocolServlet"
    			csNotifSrvToClServletName="/servlet/com.ibm.btt.event.CSNotifSrvToClProtocolServlet"
    			csReqProtocolServletName="/servlet/com.ibm.btt.cs.servlet.CSReqProtocolServlet"
    			usedForServerToClientEventNotification="true"
    			reconnectionAttempts="20"
    			timeBetweenReconnectionAttempts="10000" userAgent="CSClient"
    			useProxy="false" proxyHost="localhost" proxyPort="9080"
    			serverCredentials="cred:cred" proxyCredentials="cred:cred"
    			defaultOperationTimeout="10000" keepAliveConnection="false"
    			runInSession="true" setTcpNoDelay="true" sendBufferSize="0"
    			permanentConnectionForEvents="true" eventsPort="8082" />
  2. Run the Teller Sample as an eclipse application:

    For information about how to run the Teller Sample, see Running the Teller Sample.