hw2
TRANSCRIPT
![Page 1: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/1.jpg)
Execution Environments for Distributed Computing
Why Use "REST" Architecture for Web
Services
EEDC
343
30
Master in Computer Architecture, Networks and Systems - CANS
Homework number: 2Umit Cavus Buyuksahin
![Page 2: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/2.jpg)
2
OUTLINEOUTLINE
Web Services
SOAP & REST
Rest the Best
Who's using Rest
Conclusion
![Page 3: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/3.jpg)
3
WEB SERVICESWEB SERVICES
... called application services
... language-independent protocol
... all communication in XML
... SOAP - UDDI - WSDL
![Page 4: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/4.jpg)
4
WEB SERVICESWEB SERVICES
How it works?
![Page 5: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/5.jpg)
5
SOAP & RESTSOAP & REST
SOAP (Simple Object Access Protocol)... for communication between applications... a format for sending messages... platform-language independent ... based on XML
REST (Representational State Transfer)... architectural style... dereferencing the URL... point-to-point exchange of information... doesn't specify a particular XML vocabulary
![Page 6: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/6.jpg)
6
SOAP & RESTSOAP & REST
Which is the best?
![Page 7: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/7.jpg)
7
REST the BESTREST the BEST
REST emphasizes:
scalability of component interactions
generality of interfaces
independent deployment of components
reduce interaction latency
enforce security
encapsulate legacy systems
![Page 8: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/8.jpg)
8
REST the BESTREST the BEST
REST is better than SOAP, in terms of:
simpler to develop
less reliance on tools
permitting different data formats
performance and scalability
standardized, generic operations
utilizing the existing web addressing
totally stateless operations
![Page 9: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/9.jpg)
9
WHO's USING RESTWHO's USING REST
![Page 10: Hw2](https://reader036.vdocument.in/reader036/viewer/2022081603/558cc0a2d8b42a76788b4657/html5/thumbnails/10.jpg)
10
CONCLUSIONCONCLUSION
REST describes the current Web architecture
REST principles can be applied to XML Web Services
SOAP enjoys broad industry support, extensibility
However;
Classic SOAP has some limitations compared to REST