Configuring the business component

To run the jump-start sample, you must configure the business component:

In the Package Explorer, expand BTTJumpStartSampleRCPClient > src > bcConfig, and double-click BusinessComponentConfig.xml. This file configures Business Component services.

The Business Component configuration is as follows:
<root>
	        <import file="ejViewer.xml" />
	        <import file="override.xml" />
	        <import file="accessControl.xml" />
	        <import file="cashDrawerManagment.xml"/>
	        <macroDef id="remote">
        		<tagName name="interface" />
        		<attribute name="serviceId" />
        		<interface Instantiate="factoryElement"
        			FactoryClass="com.ibm.btt.remote.RemoteProxyFactory"
	        		              serviceId="@{serviceId}">
        		              <ref Injection="httpClient" refId="httpClient"/>
			                            <ref Injection="remoteConnectorUrl" refId="serviceUrl" />
		                     </interface>
	        </macroDef>
	        <org.apache.commons.httpclient.HttpClient id="httpClient" />
	        <string id="serviceUrl"
	        	value="http://hostname:port/BTTJumpStartSampleWeb/BTTRemoteConnector" />
	        <macro:remote id="postEngine"
	        	interface="com.ibm.btt.poc.postengine.PostEngine"
	        	serviceId="poc.postengine" />
</root>

You must change the hostname and port in the <string id="serviceUrl" value="http://hostname:port/BTTJumpStartSampleWeb/BTTRemoteConnector" /> based on your environment settings.