title: What class replaces the mothballed 'ClientFactory' in the javax webservice API (javax.ws.rs-api)?
body: <p>I want to update my javax.ws.rs-api version 21.0-m09 because it is old. However, I do not see that the <code>ClientFactory</code> exists anymore in the newer versions to do this:</p>
  
  <pre><code>// create the client
  Client c = ClientFactory.newClient();     
  String baseuri = main.getBaseRestCrmUri();
  WebTarget target = c.target(baseuri);
  
  // test web response
  String msg = target.path("hello/Joe").request().get(String.class);
  assertEquals("Hello Joe!", msg);
  </code></pre>
  
  <p>What happened to ClientFactory in the more recent versions? </p>
  
  <p>Any help would be greatly appreciated.</p>