Restful advantages and disadvantages
来源:互联网 发布:开源中国 cms 编辑:程序博客网 时间:2024/05/01 00:03
Advantages:
1> simple
2> go through firewall
3> without discovery and registry
disadavantes:
1> no way for lagre data and complex data structure
2> no standard for producer and consuerm like SOAP
4.6Advantages
RESTful has some aspects which can be viewed as positive,including the following
[Pau08]:
_ RESTful Web services appear to be simplebecause REST applies many existing
well-known standards (HTTP, XML, URI, and MIME) and needonly infrastructure
that has already become ordinary.
_ HTTP clients and servers are compatible withall programming languages and
operating system/hardware platforms, and the default HTTPport 80 is usually left
open by default in most firewall configurations.
_ Only a small effort is needed to build aclient of a Restful service. Services can
be tested using simply a mere web browser and thedevelopment of client
software becomes superfluous.
_ REST allows discovering Web resources withoutany discovery or registry
repository.
4.7 Disadvantages
RESTful has also some aspects which can beviewed as negative, including the
following [Pau08]:
_ Encoding alarge amount of input data in the resource URI is impossible because
the server either refuses such requests orcrashes
_ It may alsobe challenging to encode complex data structures into URI as there is
no commonly accepted marshalling mechanism.Inherently, the POST method
does not suffer from such limitations.
30
_ Unlike SOAP-basedweb services, which have a standard vocabulary to describe
the web service interface through WSDL,Restful web services currently have no
such grammar. Both the service consumer andservice producer must have an outof-
band agreement. Services can be describedusing Web Application Description
Language (WADL). It is an XML-based fileformat that provides a machinereadable
description of REST web services. WADL is notyet widely supported.
_ WhileSOAP-based web services support a standard vocabulary to define the web
service interface by using WSDL, Restful webservices at present do not define
such grammar. An agreement has to beestablished between the service consumer
and service producer.
- Restful advantages and disadvantages
- Automated Testing Advantages, Disadvantages and Guidelines
- for.VS.while loop (advantages and disadvantages)
- [.NET]advantages and disadvantages of using c++ interop
- The Advantages and Disadvantages of the Mbt Shoe
- 17.1.2.1 Advantages and Disadvantages of Statement-Based and Row-Based Replication
- 17.1.2.1 Advantages and Disadvantages of Statement-Based and Row-Based Replication
- Latent Semantic Analysis (LSA) Tutorial - Advantages, Disadvantages, and Applications of LSA
- 17.1.2.1 Advantages and Disadvantages of Statement-Based and Row-Based Replication 基于语句和行的复制的优势和劣势
- Do you think the advantages of charging people for admission to museums outweigh the disadvantages?
- Xamarin - Disadvantages
- REST and RESTful
- Common Advantages
- What are the advantages of semi-supervised learning over supervised and unsupervised learning?
- angularjs-$resource and RESTful API
- advantages of connection poolings
- Scalable, Reliable, and Secure RESTful HTTP
- Creating RESTful services with Jersey and Groovy
- 刚开通博客了
- 孩子读书
- 夜
- 第一次自己待在家里1个小时
- 上小学1周
- Restful advantages and disadvantages
- linux终端特殊键ESC序列读取方法
- Josephus问题的链表实现
- Joggler的MeeGo系统移植
- 回调机制深入剖析
- 看好MeeGo是匹黑马
- MMORPG Server - 数据存储
- Intel宣称不放弃MeeGo系统 期待新伙伴
- 插件思想及实现