Progress
ADM 2 Guide


Managing SmartDataObjects in Distributed Mode

This section describes how to manage Progress SmartDataObjects in a distributed mode, using AppServer.

As described in the "Running SmartDataObjects in a Distributed Environment" section, you can compile a SmartDataObject into database-aware and non-database-aware versions, with sections that contain database references compiled in or out depending on whether the SmartDataObject version will be run client/server, on a client that talks to an AppServer, or on an AppServer.

A SmartDataObject client proxy contains the code needed to connect to an AppServer Broker, to run the complete SmartDataObject on that AppServer, and to send requests through that connection to retrieve and update database records from the database through the AppServer. To enable a SmartDataObject for this use, follow these steps, either before saving the master for a new SmartDataObject from the AppBuilder or when editing the master for an existing SmartDataObject:

  1. Select the Procedure settings button from the AppBuilder toolbar. The Procedure Settings dialog box appears.
  2. In the Procedure Settings dialog box:
    1. Check the AppServer Aware toggle box.
    2. Enter the Application Service name that this SmartDataObject is to be associated with into the Partition fill-in field. Note that the Partition field appears in the Procedure Settings dialog box only if you are working with a SmartDataObject master.

Note that this runs all instances of that SmartDataObject on the AppServer. To change this for a single instance, use the SmartDataObject’s Partition instance property. For example, you might do either of the following:

Note that if the AppServer is not known earlier or is variable, you can use the Partition instance property to set it when you assemble the application.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095