Sun WBEM SDK Developer's Guide

Sequence of a Client Application

Sun WBEM SDK applications typically follow this sequence:

  1. Connect to the CIM Object Manager - (CIMClient).

    A client application contacts a CIM Object Manager to establish a connection each time it needs to perform a WBEM operation, such as creating a CIM Class or updating a CIM instance.

  2. Use one or more APIs to perform some programming tasks.

    Once a program connects to the CIM Object Manager, it uses the APIs to request operations.

  3. Close the client connection to the CIM Object Manager - (close).

    Applications should close the current client session when finished. Use the CIMClient interface to close the current client session and free any resources used by the client session.