Configuring the client

Follow these steps to configure client:
  1. Copy the following plug-ins from <toolkit_root>/plugins to the plugins directory of your Rational® Application Developer, WebSphere® Integration Developer, or eclipse:
    • com.ibm.btt.bc.cm.common_6.1.2
    • com.ibm.btt.bc.cm.rcp_6.1.2
    • com.ibm.btt.core_6.1.2
    • com.ibm.btt.csclient.http_6.1.2
    • com.ibm.btt.rcp.activity_6.1.2
    • com.ibm.btt.rcp.broker_6.1.2
    • com.ibm.btt.rcp.navigator_6.1.2
    • com.ibm.btt.rcp.perspective_6.1.2
    • com.ibm.btt.rcp.service.manager_6.1.2
    • com.ibm.btt.rcp.visualbean.runtime_6.1.2
    • com.ibm.btt.rcp.visualbean_6.1.2
    • com.ibm.btt.rcp.theme_6.1.2
    • com.ibm.btt.rcp.workingarea_6.1.2
  2. Import the sample RCP application project from Client, follow these steps:
    1. Click File > Import.
    2. In the pop-up dialog box, select Existing Projects into Workspace and click Next.
    3. Choose the project directory and select com.ibm.btt.rcp.sample to import.
  3. Follow these to connect the client with the server:
    1. Select com.ibm.btt.rcp.sample in the Package Explorer.
    2. Expand src > btt.cm.client > client.xml, and open the file.
    3. Change code as follows:
      <com.ibm.btt.bc.cm.delegation.CashDrawerManagerImpl id="cdm">
      		<arguments Inject="initClient">
      			<string ArgumentType="java.lang.String" 
      		 		value = "http://ipaddress:port/DynamicWebProject/services/CashDrawerManagerImpl2" />
      		</arguments>
      </com.ibm.btt.bc.cm.delegation.CashDrawerManagerImpl>