This tutorial would help you to create a Restful service with Jersey. We will develop the Restful service with Jersey and for doing that we will use Maven to setup the environment and download the dependencies. We will deploy it in Tomcat server or J2EE Preview. If you need help downloading maven, you can refer to this […]
This tutorial would help you to create a simple Jersey service without the need of deploying to a container. We will develop the Restful service with Jersey and Grizzly and for doing that we will use Maven to setup the environment and download the dependencies. If you need help downloading maven, you can refer to this post […]
The below tutorial will assist in creating a Client for invoking a Rest service.. we are using HttpClient 4.3.5 jar for this. We need to download the following jars for this: httpclient 4.3.5.jar commons-httpcore 4.3.2.jar httpclient-cache 4.3.5.jar commons-logging 1.1.3.jar You can directly download these jars from apache site or use maven to download the dependcies for […]
This code snippet uses HttpClient 3 api (HttpClient 3.0.1 jar) to invoke a REST based web service. It assumes the request is in JSON format and response is needed in JSON format. The code would require the Rest service url that we need to connect to… let’s call it serviceURL. Also, let’s assume the json […]
Here is a video that provides an introduction to REST. You may also like reading about : REST Architectural principles © 2015 – 2017, www.techkatak.com. All rights reserved.