title: Consume REST service with Java 6
body: <p>I'm trying to consume REST service, with <strong>Java 6</strong> on <strong>RAD</strong>, with regular jax-rs code:</p>
  
  <pre><code>        Client client = ClientBuilder.newClient();
          WebTarget target = client.target("http://host:8080/context/rest/method");
          JsonArray response = target.request(MediaType.APPLICATION_JSON).get(JsonArray.class);
  </code></pre>
  
  <p>The problem:
  It doesn't have - javax.ws.rs.client.* packages;</p>
  
  <p>How can I implement a simple client, using jax-rs with Java 6?</p>
  
  <p>Thanks!</p>