hw2

10
Execution Environments for Distributed Computing Why Use "REST" Architecture for Web Services EEDC 3433 0 Master in Computer Architecture, Networks and Systems - CANS Homework number: 2 Umit Cavus Buyuksahin [email protected]. edu

Upload: civcimix

Post on 26-Jun-2015

122 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Hw2

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

[email protected]

Page 2: Hw2

2

OUTLINEOUTLINE

Web Services

SOAP & REST

Rest the Best

Who's using Rest

Conclusion

Page 3: Hw2

3

WEB SERVICESWEB SERVICES

... called application services

... language-independent protocol

... all communication in XML

... SOAP - UDDI - WSDL

Page 4: Hw2

4

WEB SERVICESWEB SERVICES

How it works?

Page 5: Hw2

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

6

SOAP & RESTSOAP & REST

Which is the best?

Page 7: Hw2

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

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

9

WHO's USING RESTWHO's USING REST

Page 10: Hw2

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