Deploy Runtime Objects

When deploying an application, you need to ensure that the application's runtime objects are available on the appropriate machines in your deployment environment, and that Uniface executables, such as uniface.exe and userver.exe, know which runtime objects are required and where they are located.

The easiest way to deploy runtime objects is as Uniface archive files (UARs), but if desired, they can simply be copied to a directory.

Note: The contents of this directory must conform to Uniface's Standardized Directory Structure.

  1. Create Uniface Archive Files
  2. If required, stop any running Uniface Router, Uniface Servers, and clients.

    Note:  When updating a deployed application, this may not be necessary. For more information, see Update a Deployed Application.

  3. Copy the UAR files to the target locations in the runtime environment.
  4. Edit the application assignment file. Add a [RESOURCES] section to specify the locations of the UAR files.

    For example:

    ;myapp.asn
    
    [RESOURCES]
    c:\myapp\MyApp_local.uar
    c:\myapp\usys.uar
    c:\myapp\usys@usa.uar
    c:\myapp\usysicon.uar
  5. Further customize the client and server environments using configuration files.

    If the application integrates non-Uniface components or requires other files, additional configuration and deployment may be required.

  6. Start or restart the runtime environment, if it was stopped.

Related Topics