Runtime components : Core components : Initialization manager : Tasks : Setting up global settings
  
Setting up global settings
A UNICOM® Digital Transformation Toolkit (UDTT™) application defines the environment configurations in UDTT configuration file. These configurations are compliant with the XML syntax. They are defined in a component named setting in btt.xml, and are specific to the application.
See
Configuring global settings
Setting initialization parameters
See also
Tasks
Configuring global settings
You can define these settings in the configuration section of btt.xml:
Global settings
showProgressBar
Enables or disables the use of a GUI that shows the system's progress in reading the XML files.
Disable this setting for operating systems that do not have GUIs.
Default value: no
modularity
Determines where the system can find the operation definitions:
Grouped - all operations are defined in the operation XML file (or the file defined by the operation setting in the files collection. See Definition file names in this table for more information)
Split - all operations are defined in self-defined operation files
Mixed - operations are defined in either the operation XML file or in self-defined operation files
Default value: mixed
Initialization parameters
Determines how the system initializes and determines whether the system creates certain caches. For information about the detailed settings in the initialization component, see Setting initialization parameters.
Paths to the definition files
This collection sets the location of the definition files. The location can be an absolute or relative path, an HTTP address, or fromJAR, which indicates that the files are in JAR files.
Externalizer accessors
This collection identifies accessor classes for certain externalizers. This enables you to customize the externalizers with application-specific extensions.
See also
Setting up global settings
Setting initialization parameters
Initialization parameters include the configuration for Object Cache.
To use the object cache, do the following:
Enable the object cache for formats, processors, and operations by setting the value of the appropriate field in the initialization keyed collection. This keyed collection is within the main settings keyed collection of the toolkit configuration file. The following example enables the object cache for all three toolkit entities:
<kColl id="initialization">
  <field id="enableFormatsCache" value="true"/>
  <field id="enableOperationsCache" value="true"/>
  <field id="enableProcessorsCache" value="true"/>
  ...
</kColl>
To support session persistence and session affinity, the initialization has the following parameters:
< kColl id="initialization" >
  ...
  <field id="sessionPersistence" value="true" /> (default is "false")
  <field id="sessionAffinity" value="true" /> (default is "false")
  ...
</kColl >
Initialization also contains the shareDataDescriptors parameter, in order to activate data descriptors sharing to improve performance. For more information, see How data elements work.
See also
Setting up global settings