Deploying a View Model as a Data Service

After testing your view model, you deploy it—that is, you create a data service based on the view model.

Follow these steps:

  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 server from the Data Federation Server 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, enter a value in the Data Expiration field and select a unit from the pull-down menu. There are two special values:
    • 0 (the default) means don’t cache the results of this data service
    • –1 means cached results of this data service never expire
  5. In the Run As User field, enter or browse for a user account under which the data service will run.
  6. The Input Source Mappings area shows the database operations and data services that are configured to provide input to this data service. You can click Browse to browse and select one or more alternative input sources (one for each Input Source element in your view model).
  7. Click OK to save the data service configuration and deploy the new data service. 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 .

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.