Task A Initializing ActiveSpaces Objects

Procedure

  1. Initialize the ActiveSpaces library, if required.
    • C API - call tibdg_Open()
    • Java API - not required
    • Go API - not required
  2. Connect to a data grid. For details, see Connection.
  3. Create Session objects.
    See Session.
  4. Create objects that stay open for the duration of the Connection.
    1. Open Table objects to be able to execute key/value ops on the table. See Table.
    2. Create TableListener objects to monitor events corresponding to changes in the table. See Table Listener.
    3. Create Statement objects to support executing the same SQL more than once (commonly known as a prepared statement). See Statement.
Related concepts