@GET
    @Path("showContact/{id}")
    public ContactView showContact(@PathParam("id")int id){
        WebResource contactResource = client.resource("http://localhost:8080/contact/"+id);
        Contact contact = contactResource.get(Contact.class);
        return new ContactView(contact);
    }