我是网络服务的新手。有人可以帮助我理解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服务之间的区别
发布评论