Updated on 2022-09-14 GMT+08:00

Development Process

This document describes how to develop CQL applications based on Java APIs.

Figure 1 and Table 1 describe each phase of the development process.

Figure 1 CQL application development process
Table 1 CQL application development process

Phase

Description

Reference Document

Understand the basic concepts.

Before application development, learn basic concepts of CQL and understand the scenario requirements.

Common Concepts

Prepare the development and operating environment.

You can use the IntelliJ IDEA tool to invoke Java APIs to develop CQL applications.

The CQL operating environment is a Storm client. Install and configure the client according to the guide.

Preparing for Development and Operating Environment

Prepare projects.

CQL provides sample projects for different scenarios. You can import a sample project to learn the application.

Configuring and Importing Sample Projects

Develop projects based on scenarios.

Sample projects are provided, including projects about how to generate random numbers and how to collect statistics by condition.

Developing an Application

Run the application and check the result.

Storm sample programs are running in the Linux OS. IntelliJ IDEA code needs to be packaged into a JAR package.

Running an Application