X Tutup
# Simple Java RESTful Client Examples ## 1. Import source code into Eclipse Menu **File –> Import –> Maven –> Existing Maven Projects** Browse to your source code location Click **Finish** button to finish the importing ## 2. The souce code The **BookRepositoryImplRaw.java** includes all raw examples which we create content as XML, JSON and post to RESTful WS The **BookRepositoryImplJackson.java** includes all raw examples which we use Jackson to convert objects to XML, JSON before sending RESTful WS The **BookRepositoryImplSpring.java** includes all raw examples about creating Java REST Client With Spring RestTemplate. The **BookRepositoryImplApacheHttpClient.java** includes all raw examples about creating Java REST Client With Apache Httpcomponents The **BookRepositoryImplJersey.java** includes all raw examples about creating Java REST Client With Jersey Client library. The **BookRepositoryImplResteasy.java** includes all raw examples about creating Java REST Client With Resteasy Client API. The **BookRepositoryImplResteasyProxy.java, SimpleResteasyProxyClient.java** includes all raw examples about creating Java REST Client With Resteasy Client Proxy The **BookRepositoryImplCXFProxy.java, BookResource.java** includes all raw examples about creating Java Java REST Client Using Apache CXF Proxy-based API Framework. The **BookResourceFeign.java, BookRepositoryImplFeign.java** includes all raw examples about creating Java Java REST Client Using Netflix Feign The **BookRepositoryImplUnirest.java** includes all raw examples about creating Java Java REST Client Using Unirest Java API Source code are described: ### [Convert Java Objects To JSON And Vice Versa](http://howtoprogram.xyz/2016/07/01/convert-java-objects-json-vice-versa/) ### [Simple Java REST Client Using java.net.URL package](http://howtoprogram.xyz/2016/07/02/simple-java-rest-client-using-java-net-url-package) ### [Java REST Client Using Spring RestTemplate](http://howtoprogram.xyz/2016/07/03/java-rest-client-using-spring-resttemplate/) ### [Java REST Client Using Apache Httpcomponents](http://howtoprogram.xyz/2016/07/04/java-rest-client-using-apache-httpcomponents/) ### [Java REST Client Using Jersey Client](http://howtoprogram.xyz/2016/07/05/java-rest-client-using-jersey-client/) ### [Java REST Client Using Resteasy Client](http://howtoprogram.xyz/2016/07/12/java-rest-client-using-resteasy-client/) ### [Java REST Client Using Resteasy Client Proxy Framework](http://howtoprogram.xyz/2016/07/13/java-rest-client-using-resteasy-client-proxy-framework/) ### [Java REST Client Using Apache CXF Proxy based API](http://howtoprogram.xyz/2016/07/15/java-rest-client-using-apache-cxf-proxy-based-api/) ### [Java REST Client Using Netflix Feign](http://howtoprogram.xyz/2016/07/18/java-rest-client-using-netflix-feign/) ### [Java REST Client Using Unirest Java API](http://howtoprogram.xyz/2016/07/27/java-rest-client-using-unirest-java-api/)
X Tutup