Java

Consuming a RESTful WebService in Java



Video on Creating RESTful webservice in java

Creating a Java Client to consume RESTful webservice using Jersey Library.

Steps involved :
1. Download Jersey Library ( 2.x at the time of this video )
2. Copy Jersey client jars to your project and build path
3.Create a client using Client and ClientBuilder class
4.Set WebTarget ( WebService Resource URI) to the client
5. Get the response by specifying request type ( XML,JSON etc)
and HTTP…

Leave a Reply

Your email address will not be published. Required fields are marked *