So you have Java code that's compiled into bytecode that runs in the JVM and then also hooks into the Mongo driver for Java and also in our case, uses the Spark Java framework and the Free Marker templating language to make the whole thing create a web app that is presented to the user on port 8082. 