官术网_书友最值得收藏!

Setting up the development environment

Development of Apex applications requires a Java development environment with the following:

  • Java Development Kit (JDK): Apex applications are mostly written in Java, and Apex itself is implemented in Java. Other Java Virtual Machine (JVM) languages such as Scala can also be used, but this is outside the scope of this book.
  • Maven: Apex comes with a Maven Archetype to bootstrap new projects and the Apex project itself also uses Maven as build tool.

In addition to the above, it is recommended to have an IDE with Maven support such as IntelliJ or Eclipse. Apex provides code style settings for these IDEs that can optionally be used.

It is further recommended to have Git installed. Git is not required to build an application, but it is a convenient way to fetch the Apex source code and is especially useful for easily navigating the full operator library (apex-malhar) project within the IDE when working on operator customizations.

For the latest details on setting up a development environment, please refer to http://apex.apache.org/docs/apex/apex_development_setup/.

Application development can be done on any host operating system that can provide the above, including macOS, Windows, and Linux. Much of the development and functional testing can be done on the local machine within the IDE. Apex applications can run in embedded mode for this purpose, which eliminates the need to have a Hadoop cluster, which typically runs on Linux. Options for running Hadoop will be covered later as well.

主站蜘蛛池模板: 明星| 兰考县| 大埔县| 定结县| 昌吉市| 山阴县| 富锦市| 洞头县| 蒙城县| 顺昌县| 凤山市| 晴隆县| 道真| 六安市| 安乡县| 耒阳市| 张家港市| 安图县| 留坝县| 阳曲县| 南川市| 烟台市| 昭苏县| 绍兴县| 眉山市| 沽源县| 虞城县| 马边| 鞍山市| 海丰县| 隆林| 霍州市| 磴口县| 延吉市| 铜山县| 巫溪县| 会宁县| 贵德县| 呼图壁县| 顺昌县| 石台县|