RestAPI和Restful Web服务之间的区别

编程入门 行业动态 更新时间:2024-10-27 07:29:27
本文介绍了RestAPI和Restful Web服务之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是网络服务的新手。有人可以帮助我理解REST API和Java中的Restful Web服务之间的区别。我开发了一个仅基于servlet和jsp的web应用程序。现在必须使用REST API开发相同的应用程序。使用servlet和jsp开发Web应用程序和使用REST API开发Web应用程序之间的区别是什么。有人可以提供指向优秀教程的链接,我可以通过示例了解有关REST API的更多信息。

I am new to web-services. Could someone help me in understanding the difference between REST API and a Restful web-service in java. I have developed a web-application which is based on only servlets and jsp. Now the same application has to be developed using REST API. What is the difference between developing a web app with just servlets and jsp and developing a webapp with REST API. Can someone provide links to good tutorials where I can learn more about REST API with samples.

推荐答案

A RESTful web API (also called a RESTful web service) is a web API implemented using HTTP and REST principles. It is a collection of resources

参考: en.wikipedia/wiki/Representational_state_transfer

有时,某些组织可能会显示REST API和Restful Web服务之间差别不大。 例如,每个人都可以使用Rest API来使用具有相同端点的数据。

Sometimes, some organization might show little difference, Between REST API and Restful web services. For eg, Rest API might be common for everyone to use the data with same endpoint.

可以为特定需求和端点提供自定义修改的Restful Web服务会有所不同。

Restful web services may comes with custom modification for specific requirement and endpoint will be different.

更多推荐

RestAPI和Restful Web服务之间的区别

本文发布于:2023-10-07 17:46:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1470077.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:区别   RestAPI   Restful   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!