Progress
on the Web
Managing AppServer Connections
To download
As Needed
application components from a codebase residing on an AppServer, WebClient, by default, creates a new connection to the AppServer, downloads the components, and terminates the connection.NOTE: To downloadAt Startup
application components before the application starts, WebClient creates a new connection to the codebase server.If you want, WebClient can keep the connection used for downloading
As Needed
application components open and reuse the connection to download additional components until no more remain to be downloaded. To communicate this preference to WebClient, in the Application Assembler’s Codebase Locator window, check the Keep Connection Open toggle box.And if you want, WebClient can download
As Needed
application components using an AppServer connection you already have open. (Perhaps your business logic and the codebase reside on the same AppServer, and you have already connected to this AppServer to access the business logic.) To communicate this preference to WebClient, just after you connect to the AppServer, assign the connection’s handle to the SERVER attribute of the CODEBASE-LOCATOR handle.If you do so:
- The application has full responsibility for managing the connection.
- The application configuration file’s information regarding the codebase server is not used.
- If the connection breaks, the download fails.
NOTE: For this reason, Progress Software Corporation recommends that an AppServer connection used for ASYNC requests not be used for downloading application components.- If there is an outstanding ASYNC request on the handle of the existing connection at the moment WebClient needs it for the download, WebClient raises an error on the RUN statement.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |