a boilerplate to get a spark server up and running in a jiffy
git clone
cd java-spark-boilerplate
./gradlew build
./gradlew run
- Hit
http://localhost:4567/hello
in the browser
build.gradle
- The main build system configuration filegradlew
- The generated convenience script; invoke this if gradle is not installed globally on your machinesrc/main/java/hell/HelloWorld.java
- The main class and method that spawns up the server- Everything else is boilerplate stuff that shouldn't need touched (or if it does, I don't know why. Have't needed to yet)