Initialization for service repository

Service Repository is a container for the deployed service, which is based on XML. According to the XML DOM structure for Service Repository, the basic structure is determined when BTT On-Demand Workplace starts the initialization.

The initialization process for Service Repository is like the process of how the UI Elements for Tab, Column and Row are initialized. The process is shown as follows:

The initialization process for Service Repository

  1. As the initialization for BTT On-Demand Workplace starts, BTTMain.init() is called. When BTT On-Demand Workplace completes initialization for the Workarea, it starts preparing the model structure for BTT Service Repository.
  2. The AJAX request is sent to get the content of the Service Repository, according to the URL setting in the Common/Config.js.
  3. Servlet gets the request from the client, and extracts the XML structure from where the XML data is stored depending on what storage method you choose. Refer to Storage management.
  4. Send back the XML content to the client for initialization for the model of the BTT Service Repository.
  5. After the model initialization is finished, it starts to create the service list, which is displayed in a tree structure. BTT Servicse Repository is read only, so every end-user sees the same service list.