Runtime components : Core components : UDTT definition description : Context configuration
  
Context configuration
A context is an object that defines and encapsulates data for a functional or business organization entity. In the presentation layer, the Branch Transformation Toolkit uses contexts as basic data model entities in the data model.
<field id="initializer" value="com.ibm.btt.base.ContextInitializer" />
The class is responsible for initializing all context configurations. The class is packaged in bttcore.jar.
<field id="extFile" value="context.xml" description="The recommended location is under same folder of btt.xml"/>
The extended file contains the context definitions for the application. By default, the extended file is in the same folder with btt.xml.
<kColl id="classTable">
The classTable contains a collection of definitions for keywords of the context keywords and their implemented class. Those definitions can be added and removed from the collection. Only those definitions in the classTable collection can be used to define its context in the extended file.
<field id="context" value="com.ibm.btt.base.LocalContextImpl" />
Local context is implemented by class LocalContextImpl, which is packaged in bttcore.jar.
<field id="context" value="com.ibm.btt.cha.ejb.RemoteContextImpl" />
Remote context is implemented by class RemoteContextImpl, which is packaged in bttchaejb.jar.
The following configuration items are for remote context:
<!--field id="ejbInitialContextFactory" value="com.ibm.websphere.naming.WsnInitialContextFactory"/-->
<!--field id="EJBProviderURL" value="iiop://remoteserverip:remoteserverport"/-->
<!-- Indicates the home interface of CHAEJB -->
<!--field id="CHASessionLocalHome" value="java:comp/env/ejb/CHASession"/-->
<!--field id="CHAInstanceLocalHome" value="java:comp/env/ejb/CHAInstance"/-->
<!--field id="CHAControlLocalHome" value="java:comp/env/ejb/CHAControl"/-->
<!--field id="CHASessionHome" value="ejb/com/ibm/btt/cha/ejb/CHASessionHome61"/-->
<!--field id="CHAInstanceHome" value="ejb/com/ibm/btt/cha/ejb/CHAInstanceHome61"/-->
<!-- Indicates the initialized context tree of CHA-->
<!--field id="initTailContextName" value="branchServer"/-->
<!-- Indicates whether to cleanup the context instance from the DB tables-->
<!--field id="cleanupCHAServer" value="true"/-->
<!--field id="isLocalCall" value="true"/-->
<!--field id="isPersistenceEnabled" value="false"/-->
Go up to
UDTT definition description