Appendix B SAmple Code Production In production you can deploy the code on a cluster of Apache web server and Apache Tomcat server instances. You can do load balancing of your application through the Apache web server. Prerequisite Install the following tools and software: 1. Intellij IDEA community edition – Version: Latest (https://www. jetbrains.com/idea/download/#section=windows) 2. Visual Studio Code – Version: Latest (https://code. visualstudio.com/) 3. Java Development Kit (JDK) – Version: 8 and Java Runtime environment (JRE) – Version: 1.8.0_191. (https://www.oracle. com/technetwork/java/javase/downloads/index.html) 4. NodeJS – Version: v8.12.0 and NPM – Version: 6.4.1 (https:// nodejs.org/en/) 5. Git: Version Control System – Version: Latest (https://git-scm.com/) 6. Apache Maven – Version: 3.3+ (https://maven.apache.org/ download.cgi) 7. Apache Tomcat – Version: 8.5.34 (https://tomcat.apache.org/) Important make sure that environmental variables and pATH contain the location of JdK, JRe, node, and GiT. You can access the source code by going to www.apress.com/9781484243022 Then clone the source code and folder structure from the Git repository https://github.com/apress/building-digital-experience-platforms. 338
![Building Digital Experience Platforms - Page 348](/cdn-cgi/image/width=600,quality=80,format=webp/https://cdn.relayto.com/images_originals/600ee863148d7.jpeg)