Small example to verify that the JDK8 streams API works with Tomcat.
Build using: gradle war
Test using: curl http://localhost:8080/jdk8-rest-war-example/rest/example/number
Tested with apache-tomcat-7.0.35 and apache-tomcat-8.0.9 running under JDK8.