Runs in client side. It is responsible for the interaction with BTT server application. Mobile application can interact with MobileAdapter instead of interacting with server directly.
Runs in server side. It is responsible for receiving request from client and sending response.
Runs in server side as request handler. It is responsible for processing request and invoking related operation.
Runs in server side as presentation handler. It is responsible for processing response data.
The following diagram demonstrates the typical interaction with the Mobile Channel:
BTT Mobile Channel is a configurable component as the other BTT components.
<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>