I hope that we have debunked the perception that writing a web application in Java always requires much more code than other modern languages. While writing the code, we used various Eclipse IDE features to ease and speed up development. Gradle was used to manage dependencies and build the project. and we added Gradle's application plugin so that we could easily run our application by running a simple Gradle task. By applying TDD, we wrote a backend class. The Jackson library was used to convert this class's output to JSON, and the SparkJava framework was used to create the web service around that.
If you are interested in the SparkJava framework, then be sure to visit http://sparkjava.com.
In the next chapter, we will look at Scala. This language has strong support for functional programming, but it is a pure OOP language at the same time.