This is an example of a Rest embedded server in a java application using Jersey 2, Jetty, and Jackson. There is also a project to test the Rest interface.