Jersey Filters and Interceptors 1. Introduction In this article, we’re going to explain how filters and interceptors work in the Jersey framework, as well as the main differences between these. We’ll use Jersey 2 here, and we’ll test our application using a Tomcat 9 server. 2. Application Setup Let’s first… Continue Reading jersey-filters-interceptors

Add a Header to a Jersey SSE Client Request 1. Overview In this tutorial, we’ll see an easy way to send headers in Server-Sent Event (SSE) client requests using the Jersey Client API. We’ll also cover the proper way to send basic key/value headers, authentication headers, and restricted headers using… Continue Reading jersey-sse-client-request-headers

REST API with Jersey and Spring [.s1]## 1. Overview Jersey is an open source framework for developing RESTful Web Services. It serves as a reference implementation of JAX-RS. In this article, we’ll explore the creation of a RESTful Web Service using Jersey 2. Also, we’ll use Spring’s Dependency Injection (DI)… Continue Reading jersey-rest-api-with-spring