Deploying a View Model as a Data Service

After testing your view model (.avm file), you deploy it—that is, you create a data service based on the view model and publish it in the data catalog.

  1. Right-click in the view model pane and select Deploy Data Service. The Deploy View Model dialog appears.
  2. (Optional.) Enter a name in the Data Service Name field if you don’t want to use the default name.
  3. (Optional.) Select a grid domain controller from the Data Federation GDC pull-down if you don’t want to use the default server.
  4. (Optional.) To control whether and for how long the results of this data service are cached, select a caching behavior:
    Don’t cache Do not cache the results of this data service—run the data service every time a user or application calls it. (This is the default.)
    Never expire Cache the results of this data service indefinitely.
    Expire after: Cache the results of this data service and let the results expire out of the cache after the specified period of time.

    To define the expiration period, enter a value in the field on the left and select a unit (seconds, minutes, hours, days, or weeks) from the pull-down to the right.

  5. In the Plug-in Coherence field, enter a value that represents the period of time following the last update during which the plug-in for this data service is assumed to be fresh. Use the pull-down to select a unit (seconds, minutes, hours, days, or weeks) for the coherence window. The data service checks for an updated plug-in at the end of the specified time.
  6. In the Run As User field, enter or browse for a user account under which the data service will run.
  7. Click OK to save the data service configuration and deploy the new data service.
    Note: By default, a data service runs on the grid server where it was deployed. If you want data service execution to be shared among several grid servers, you or your grid administrator must configure execution service pooling. For information on execution service pooling, see the Data Federation Administration Guide, part of the DI Suite documentation set, which is available on the Sybase Product Manuals Web site at http://sybooks.sybase.com.
After it’s deployed, you can find the new data service in Enterprise Explorer under Categories/ViewLibrary/DataServices.

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com