code: private void loadSchema() {
          m_logger.info("Loading schema for application: {}", m_config.app);
          m_client = new Client(m_config.host, m_config.port, m_config.getTLSParams());
          m_client.setCredentials(m_config.getCredentials());
          m_session = m_client.openApplication(m_config.app); // throws if unknown app
          m_appDef = m_session.getAppDef();
          if (m_config.optimize) {
              computeLinkFanouts();
          }
      }
docs: Connect to the Doradus server and download the requested application's schema.