Super-simple JAX-RS example - all it does is prints "Hello World" when addressed by http://localhost:8080/rest/hello.
The project is built in IntelliJ IDEA 14.1 and depends on Apache CXF libraries included in apache-tomee-jaxrs-1.7.4 (http://apache.mivzakim.net/tomee/tomee-1.7.4/).