title: What is the substitue for Resteasy ProxyFactory class
body: <p>I just realized that the <code>ProxyFactory</code> class is marked deprecated in RestEasy version 3.0.0. Sadly the approach that deprecates this class is not documented anywhere. I used to initialize my services this way but what is the new way?</p>
  
  <pre><code>protected static final String URL = "http://localhost:12345"+"/api";
  protected static final MyService myService = ProxyFactory.create(MyService.class, URL); 
  </code></pre>