Net.Data and Live Connection Process Flow

After you've configured and started the database, Web server, and Connection Manager, Net.Data processing typically involves these steps when Live Connection is enabled:

  1. The Web server receives a request and starts either a FastCGI, CGI or API process to run Net.Data.
  2. Net.Data starts processing the Net.Data macro.
  3. When Net.Data encounters a function call that uses Live Connection, it determines what type of cliette is needed from the initialization file. For DB2, the cliette type is often a name based on the DB2 database name, such as DTW_SQL:CELDIAL.
  4. Net.Data asks the Connection Manager for a cliette of that type.
  5. The Connection Manager looks for available cliettes of that type. If none is available, the Connection Manager puts the request on a queue and processes it when the right cliette type is available.
  6. When a cliette becomes available, the Connection Manager tells Net.Data how to communicate with the cliette.
  7. Net.Data asks the cliette to process the function.
  8. This process is repeated from step 3 until the Net.Data macro processing is complete.
  9. All cliettes are released.

If a cliette is specified in the initialization file but the Connection Manager is not running, Net.Data loads the DLL and processes the macro. If you use an API, you are likely to receive errors, and you should start the Connection Manager.


[ Top of Page | Previous Page | Next Page | Index ]