Jersey

Webservice feature – Language independent

This tutorial will show you an example on how to test one of the features of webservice called language independence. Webservice is a technology by which two or more remote web applications interact with each other over network/internet. It can be implemented using Java, .net, PHP etc. Please go through the REST webservice created using […]

REST Webservice Authentication

In this tutorial I am going to show you how we can authenticate the REST webservice using sending credential information in Cookie. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection […]

Convert List, Map to JSON in REST Response using Jersey

Introduction In this post we will see how to convert List, Map to JSON in REST Response using Jersey API. We will create three separate REST methods to convert List to JSOn, Map to JSON and List of Map to JSON string. We will annotate the REST resource class with @Path for having the base […]

REST Service with MultivaluedMap using Jersey

Here I am going to give an example on how MultivaluedMap in REST webservice works. Introduction The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web service […]

Asynchronous REST Service using Jersey – Connection Callback

Introduction Here I am going to give an example on how Asynchronous REST webservice with Connection Callback. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web […]

Asynchronous REST Service using Jersey – Completion Callback

Introduction Here I am going to give an example on how Asynchronous REST webservice with Completion Callback. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web […]

Asynchronous REST Service with Timeout using Jersey

Introduction Here I am going to give an example Asynchronous REST service with Timeout using Jersey API. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web […]

Simple Asynchronous REST Service using Jersey

Introduction Here I am going to give an example on how Asynchronous REST webservice works. This is a simple asynchronous REST service using Jersey API. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the […]

Spring 3, REST using Jersey 2.6 and Grizzly integration example

In this tutorial I will show you how to integrate REST using Jersey 2.6, Spring 3 and Grizzly web server. So I will use here Grizzly web server so we don’t need to use any other external webserver. I had been googling for many times but I did not get any satisfactory example on REST […]

Scroll to top