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

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.

主站蜘蛛池模板: 余庆县| 古田县| 陇川县| 钟山县| 当雄县| 无极县| 许昌县| 慈利县| 金川县| 年辖:市辖区| 满城县| 镇坪县| 饶平县| 望江县| 武山县| 鹿邑县| 秦皇岛市| 莎车县| 金溪县| 和田县| 兴安盟| 阳谷县| 贡觉县| 方山县| 湛江市| 江永县| 仲巴县| 集贤县| 禄劝| 娄底市| 沂南县| 松桃| 安国市| 许昌县| 翁牛特旗| 玛沁县| 鄢陵县| 石屏县| 谢通门县| 唐河县| 栾城县|