Configuring the client

About this task

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.0
    • com.ibm.btt.bc.cm.rcp.0
    • com.ibm.btt.core.0
    • com.ibm.btt.csclient.http.0
    • com.ibm.btt.rcp.activity.0
    • com.ibm.btt.rcp.broker.0
    • com.ibm.btt.rcp.navigator.0
    • com.ibm.btt.rcp.perspective.0
    • com.ibm.btt.rcp.service.manager.0
    • com.ibm.btt.rcp.visualbean.runtime.0
    • com.ibm.btt.rcp.visualbean.0
    • com.ibm.btt.rcp.theme.0
    • com.ibm.btt.rcp.workingarea.0
  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>