Home » REST » Page 2

Tag Archives: REST

Differences Between REST and SOAP APIs

This article discusses the differences between REST and Soap APIs. Therefore, after reading these articles, readers will probably understand why, when and how any of these two APIs are used to develop these APIs. The commonest and most popular keyword is Web Services in the area of Web Development. Herein, we first try to understand what web services are, move ...

Read More »

Spring Boot REST API with Swagger Example

Welcome readers, in this tutorial, we will create a spring boot restful api application to integrate with the swagger2 tool. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such ...

Read More »

Spring Rest Hibernate Example

Welcome readers, in this tutorial, we will show how to implement the REST services to perform the SQL operations using the Spring MVC and Hibernate framework. 1. Introduction Developers can refer to this link to briefly understand the Spring, Spring MVC, and Hibernate framework. 1.1 Download and Install Hibernate Developers can read this tutorial in order to download and install ...

Read More »

Spring Boot REST API Tutorial

In this tutorial, we will review REST API concepts and provide an example of REST API development using Spring Boot. 1. Introduction We have heard quite a lot about REST recently. REST (Representational State Transfer) is an architectural style that describes principles and outlines constraints for developing web services on the internet.         Table Of Contents 1. ...

Read More »

Spring REST with JSON Example

RESTful web services using JSON data format address the problems with SOAP web services using XML. REST can output data in different formats like Comma Separated Values (CSV) or Really Simple Syndication (RSS), but the most popular format is JSON. Compared to XML, JSON is not only more human readable but also lightweight. It’s easier for the browser to take ...

Read More »

JAX-RS Web Service Example

Hello readers. In this tutorial, we will show how to use the JAX-RS (RESTful) jar files to implement a simple Hello World Web Service in Java. 1. Introduction JAX-RS stands for RESTful Web Services. JAX-RS is a set of APIs to develop the REST services. It is part of the Java EE6 and makes developers to develop the REST web ...

Read More »

Spring Framework Angularjs Integration Tutorial

Spring Application Framework enables us develop RESTful services using its Web MVC subsystem, and we can consume those services via any of the client side front end UI technologies, e.g Angular, Backbone or React JS. In this example, I will explain how a CRUD like scenario can be developed using Spring MVC at the back side, and Angular JS in ...

Read More »

Grails REST Example

In this example we shall show you how to create RESTful APIs using Grails. Exposing your application functionality to other applications is always achieved using web services. Grails provides several features that make implementing a RESTful web service in Grails easy using a RESTful resource. Originally, web services grew in popularity as a means for system integration. But with the recent popularity ...

Read More »

Scala REST Example

In this Example series, we will see how to have a REST (Web) Application in Scala. The following table shows an overview of the entire article:                   Table of Contents 1. Pre-Requisites 2. Environment 3. REST 3.1 What is REST 3.2 REST Client 3.3. Common Use Cases 4. Scalatra 4.1 Installing Scalatra ...

Read More »

Java JSON RESTful Web Service Example

In this example we shall learn implementing Restful Web Service in Java where the data interchange format shall be JSON. 1. Introduction to RESTful Web Services RESTful Web Services follow REST architecture which stands for REpresentational State Transfer. RESTful web services are light weight and highly scalable is one of the most common way to create APIs on web. In ...

Read More »