官术网_书友最值得收藏!

A Few Basics

As the world has moved into the big data era, collecting and dealing with data alone has become the main part of most of our web applications, and web services, too, as web services deal only with data, not the other parts of the user experience, look, and feel. Even though user experience is very important for all web applications, web services play a major role in dealing with data by consuming services from the client side.

In the early days of web services, Simple Object Access Protocol (SOAP) was the default choice for all backend developers who dealt with web service consumption. SOAP was mainly used in HTTP and Simple Mail Transfer Protocol (SMTP) for message transmission across the same or different platforms. When there was no JavaScript Object Notation (JSON) format available for web services, XML used to be the only available format SOAP could use for the web service consumption.

However, in the JSON era, Representational State Transfer (REST) started dominating web service based applications, as it supports multiple formats, including JSON, XML, and other formats. REST is simpler than SOAP, and the REST standards are easy to implement and consume. Also, REST is lightweight as compared to SOAP.

In this chapter, we will cover the following topics:

  • REST—a basic understanding
  • Reactive programming and its basics, including the benefits of Reactive programming
  • Spring 5 basics with Reactive programming
  • A sample RESTful web service that will be used as a base for the rest of the book
主站蜘蛛池模板: 舟山市| 瑞安市| 泊头市| 云霄县| 颍上县| 梁山县| 鹰潭市| 蒙城县| 南开区| 墨脱县| 禹州市| 秦皇岛市| 巨鹿县| 龙门县| 进贤县| 温泉县| 古田县| 定安县| 澜沧| 麦盖提县| 莱西市| 青铜峡市| 道孚县| 桦甸市| 双流县| 晋宁县| 阜宁县| 宜兴市| 永城市| 沙坪坝区| 班玛县| 晋城| 娄烦县| 河北区| 和政县| 武威市| 天水市| 阳新县| 资兴市| 广饶县| 静乐县|