Runtime Services Property Descriptions

Presentation Builder Runtime Service provides configurable services to support your Presentation Builder solution.

ApplicationLoadingService Properties

The Application Loading Service loads application classes into the run-time engine for presentation to end users.

Property Description
appsrootdir Required. The application root directory. Your installer (see next property) must copy applications to this location. (Default configuration: %R/applications.)

If the first two characters of the pattern are %R, the ApplicationLoadingService will substitute the root directory of the run-time for the %R. The default root directory is:

install_directory/HTTPEngine/webapps/epi/WEB-INF/

installer Optional. The installer copies applications from another location into the application root directory to load into the run-time engine. The default is to have no installer. However, the default configuration uses StdAutoAdmin. For additional information about the properties associated with StdAutoAdmin, see Runtime Services Property Descriptions: StdAutoAdmin. (Default: no installer.)

AppResourceLoader Properties

The Application Resource Loader loads application resources, such as background images, into the run-time engine for presentation to end users.

Property Description
defaultlocation Optional. The default resource location. The AppResourceLoader loads resources from this location unless there is a location mapped for the resource type (see below). The resource file name is appended to the specified location. (Default: %R/applications/%A/%T.)

If the first two characters of the pattern are %R, the AppResourceLoader will substitute the root directory of the run-time for the %R. The default root directory is:

install_directory/HTTPEngine/webapps/epi/WEB-INF/

For %A, the AppResourceLoader will substitute the name of the requesting application. And for %T, the AppResourceLoader will substitute the name of the resource type.For example:

install_directory/HTTPEngine/webapps/epi/WEB-INF/applications/MyApplication1/images/

Or,

install_directory/HTTPEngine/webapps/epi/WEB-INF/applications/MyApplication2/js/

map Optional. Provides a list of resource type mappings, useful if you want to load resources from multiple locations, depending on the resource type. The AppResourceLoader will perform string substitution for %R, %A, and %T on the location in the same pattern as noted above. (Default: the default resource location.)
maxappbufcache Optional. The maximum number of resource buffers to cache per application. A negative value will result in no limit. Zero will result in no buffering. Modifying this property may affect performance. (Default: 10.)
maxbuf Optional. The maximum size, in kilobytes, of a resource buffer to cache. Negative values are not allowed. Zero will result in no buffering. Modifying this property may affect performance. (Default: 500.)

CoderLookupService Properties

The Coder Lookup Service ensures that your designed application is presented to end users in a way that's appropriate to their environment by looking up transcoders and decoders appropriate to the client type (browser or Presentation Renderer applet).

The transcoders convert application forms to a format the client can understand. The decoders convert requests from a client format to a form event for the application.

Property Description
codertable Required. The coder lookup table location. If you use an alternative coder table, use this property to point the Coder Lookup Service to the new file. (Default: %R/config/codertable.xml.)

If the first two characters of the pattern are %R, the CoderLookupService will substitute the root directory of the run-time for the %R. The default root directory is:

install_directory/HTTPEngine/webapps/epi/WEB-INF/

maxdevicecache Optional. The maximum number of devices for which you want to cache transcoding information. Negative values are not allowed. Zero will result in no caching. (Default: 5.)

FormLoadingFactoryService Properties

The Form Loading Factory Service provides a form loader to application instances. The form loader loads application forms into the run-time engine for presentation to end users.

Property Description
formsrootdir Required. The form loader loads forms from this location. (Default: %R/applications/%A/forms.)

If the first two characters of the pattern are %R, the FormLoadingFactoryService will substitute the root directory of the run-time for the %R. The default root directory is:

install_directory/HTTPEngine/webapps/epi/WEB-INF/

maxformidcache Optional. The maximum number of form IDs to cache per application. A negative value will result in no limit. Zero will result in no caching. Modifying this property may affect performance. (Default: 10.)
maxdevicecache Optional. The maximum number of devices for which you want to cache form loading information. Negative values are not allowed. Zero will result in no caching. (Default: 2.)

SessionLoadingFactoryService Properties

The Session Loading Factory Service provides a session loader to application instances. The session loader loads sessions into the run-time engine for applications to access.

Property Description
loader Required. The loader must be a class that implements ISessionLoader. (Default: com.attachmate.pb.rt.services.sessionloader.RtSessionLoader.)

The default configuration uses RtSessionLoader, which takes the following property:

Property
Description
resourcelocation Required. (Default: %R/applications/%A/sessions.)

If the first two characters of the pattern are %R, the SessionLoadingFactoryService will substitute the root directory of the run-time for the %R. The default root directory is:

install_directory/HTTPEngine/webapps/epi/WEB-INF/

For %A, the SessionLoadingFactoryService will substitute the name of the requesting application.

Related Topics
Bullet Configuring the Run-time Environment, Overview
Bullet Configuring Run-time Services
Bullet Runtime Services Property Descriptions: StdAutoAdmin
Bullet Runtime Services Property Descriptions: LoggingService
  Attachmate