Structuring Programs

These steps outline the main structural components of most application programs that access a ActiveSpaces data grid.

Procedure

Task A Initialize ActiveSpaces Objects

  1. Initialize the ActiveSpaces library.
  2. Connect to a data grid.
  3. Create session objects.
    See Session.
  4. Open table objects.
    See Table.

Task B Data Grid Operations

  1. Access the data grid using methods of a table object.

Task C Clean-Up

  1. Close table objects.
  2. Destroy session objects.
  3. Close the data grid connection object.