
Consuming a RESTful WebService in Java
186382
877________
Video on Creating RESTful webservice in java
• Creating a 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 Request Type ( GET,POST,PUT,DELETE)
コメント