public static void main(String[] args) throws Exception { RESTClient client = new RESTClient(); // uses CXF JAX-RS WebClient client.usePersonService(); // uses a basic proxy client.useSimpleProxy(); // uses CXF JAX-RS WebClient to do the advanced search client.useSearchService(); }