Runtime components : Channels components : Mobile Channel : Tasks : Configuring the Mobile Channel : Configuring the server side
  
Configuring the server side
Perform the following steps to configure the server side:
1 Add bttcore.jar (UDTT core component) and bttchannel.jar (UDTT mobile channel component) into the UDTT server application classpath.
2 Configure btt.xml to setup Mobile Channel settings:
<kColl id="channelHandlers">
<field id="initializer"
value="com.ibm.btt.channel.ChannelInitializer" />
<!--
BTT provides BTT mobile channels implementation
The configuration parameters:
1) requestHandler: BTT mobile request handler
2) presentationHandler: BTT mobile presentation handler
3) startUpOp : the start up operation to create session context, user needs provide this operation:
-->
<kColl id="mobile">
<field id="requestHandler" value="com.ibm.btt.mobile.MobileRequestHandler" />
<field id="presentationHandler" value="com.ibm.btt.mobile.MobilePresentationHandler" />
<field id="startUpOp" value="CreateSessionOperation" />
</kColl>
</kColl>
3 Configure btt.xml to setup bean collection settings which are used as parameter of Mobile Channel invocation.
<kColl id="data">
<field id="extFile" value="data.xml" />
<field id="initializer"
value="com.ibm.btt.base.DataInitializer" />
<field id="extPrimitive" value="com.ibm.btt.bean.BeanUtils" />
<kColl id="classTable">
<field id="field" value="com.ibm.btt.base.DataField" />
<field id="kColl" value="com.ibm.btt.base.KeyedCollection" description="compound" />

<field id="iColl" value="com.ibm.btt.base.IndexedCollection"
description="compound" />
<field id="bColl" value="com.ibm.btt.bean.BeanCollection"
description="compound" />
<field id="operDef" value="com.ibm.btt.base.OperField" />
<field id="refData" />
</kColl>
</kColl>
4 Configure web.xml to enable MobileRequestServlet.
<servlet>
<servlet-name>MobileServlet</servlet-name>
<servlet-class>com.ibm.btt.mobile.MobileRequestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MobileServlet</servlet-name>
<url-pattern>/mobile</url-pattern>
</servlet-mapping>
Go up to
Configuring the Mobile Channel