In this tutorial, we will learn how to secure a Jersey based REST server implementation using Basic Authentication. As we have already discussed various ways of securing a REST Service, here we look in detail at Basic Authentication. REST Basic Authentication Tutorial In Basic Authentication, the client will send user credentials every time data is […]
Tag: REST
Secure a REST Service
When we develop REST APIs for our application to enable integration with other applications, often we would want to secure the interface. This is done for a variety of reasons. We would like to prevent sniffing of data on the network by unauthorized people. We may want to categorize each user using user role and […]
Introduction to REST
Sir Tim Berners-Lee invented the World Wide Web in 1989. In the past three decades, the Web has evolved a lot, and most of the Millennials and Post-Millennials see it as an intricate part of their daily life. Ever wondered how the world wide web became so successful? Why has the Internet become so viral? […]
REST – Spring Boot
Since its inception in 2002, the Spring framework saw a tremendous growth in terms of functionalities which ultimately made the framework a bit complex. One of the main error-prone areas in traditional Spring programming was, of course, the enormous amount of config XML files that one had to create for a fairly large Spring project. […]
REST Service Using Spring
In this tutorial, we will be learning how a RESTful service can be built with Spring. We would be creating a simple Restful service using spring and running it in eclipse. Tools We will be using the following tools for development in this tutorial. Maven 3.3.9 Java 1.8.0.101 Spring Tool Suite [ standalone or eclipse plugin] […]
REST Client Using Jersey
Creating REST Client In the previous tutorial, we created a simple REST service that responds to a HTTP GET call. We saw it working by opening the page in a browser and seeing the correct results. In this tutorial, we will see how to create a REST client that consumes the simple service that we […]
RESTful Service with Java using Jersey
What is REST? REST stands for Representational State Transfer. It is an architectural style based on HTTP protocol and was conceptualized by Roy Fielding way back in the year 2000. In REST service, everything is a resource and every resource has an id. The resources reside at the REST server end and is consumed by […]