Things to remember 

Context: just want to create a JPA backend with JAX-RS to serve JSON for an Android app. Simply. Quickly
  1. Use   @Produces("application/json; charset=UTF-8")  to get the accents right (so long for the convenient Mediatype.APPLICATION_JSON)
  2. @ Context private UriInfo uriInfo;  causes errors 
(to be continued)