//...
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
Client client = ClientBuilder.newClient(); //creamos un nuevo cliente...
client.register(PersonsReader.class); //... registramos nuestro interprete JSON -> Bean
WebTarget target = client.target(URL);
LOGGER.info("Solicitamos al Servicio REST el listado");
List<Person> lista = target.request().get(List.class);
LOGGER.log(Level.INFO, "Persona:{0}", lista);
request.setAttribute("personas", lista);
}
//...