Previous Topic: Java Message Service (JMS) Session StorageNext Topic: How to Configure a Cross-Context Flow


Map Load Modules

URLs are used to reference all load modules in the CA Gen Java runtime. Most of the time, for backward compatibility, a URL value is null which indicates the Load Module must be found in the current application context. When Cross-Context Flows are desired, the URL must be set to the protocol, server, and context that support the actual Load Module to be executed.

The relationship table of Load Module name to URL is created by the CA Gen Build Tool's Assembly and generated into the web.xml file of each WAR included in the application EAR. Within the file web.xml, each Load Module name is prefixed by url/ to become the name of an environment entry whose value is the URL that supports the Load Module.

Each time a procedure step is loaded, the CA Java Runtime looks in the current load module for the procedure step. If the procedure step is not found in the current load module, then the URL for the appropriate load module is determined from the web.xml table. The Remote Load Module Exit, WindowManagerCfgExit, is then called to allow for programmatic overriding of the URL. If it is determined that the requested Load Module is in a different context, then the URL is used to access the remote context.