Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hw2

253 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Hw2

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

×