Basic example of Jersey2 usage (from web https://jersey.java.net/documentation/latest/getting-started.html)