SlideShare una empresa de Scribd logo
1 de 5
Why Use of

      SOAP                                                     REST




                              for Web Services
                                     ?
Maria Stylianou – marsty5@gmail.com
34330 EEDC – Execution Environments in Distributed Computing
SOAP (Protocol)                                  REST (Architecture)
    Rules, rules & rules                                       Based on HTTP

                                                           Looks like WWW
       NOT simple at all
                                                              Easy
            XML format                                       Simple
                                                            Stateless
                                                          Lightweight
    Too much overhead                               Lots of Representations

34330 EEDC – Execution Environments in Distributed Computing
SOAP (Protocol)                                  REST (Architecture)
 Change on the service                                         FLEXIBILITY


   Clients stop working                                 Clients keep working

    POST to query/change                                   GET to query data
            data

            Dangerous                                          Safe
         Difficult to cache                             Cacheable & Scalable
34330 EEDC – Execution Environments in Distributed Computing
SOAP



                                                               REST!

34330 EEDC – Execution Environments in Distributed Computing
SOAP



                                                               REST!
                                                               REST!
                                                               BEST!
34330 EEDC – Execution Environments in Distributed Computing

Más contenido relacionado

Similar a EEDC - Why use of REST for Web Services

Eedc homework2-jsc
Eedc homework2-jscEedc homework2-jsc
Eedc homework2-jsc
jsubirat
 
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
Michael Noel
 
SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010
Michael Noel
 
Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001
jucaab
 
Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
Naseers
 
10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance
Christopher Bunn
 

Similar a EEDC - Why use of REST for Web Services (20)

EEDC SOAP vs REST
EEDC SOAP vs RESTEEDC SOAP vs REST
EEDC SOAP vs REST
 
Eedc homework2-jsc
Eedc homework2-jscEedc homework2-jsc
Eedc homework2-jsc
 
Hw2
Hw2Hw2
Hw2
 
Hw2
Hw2Hw2
Hw2
 
Hw2
Hw2Hw2
Hw2
 
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
 
SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010
 
Obiee 11 g
Obiee 11 gObiee 11 g
Obiee 11 g
 
Brocade-The Ethernet Fabrics-wp
Brocade-The Ethernet Fabrics-wpBrocade-The Ethernet Fabrics-wp
Brocade-The Ethernet Fabrics-wp
 
PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS
PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS
PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS
 
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
 
CCNA Icnd110 s02l09
CCNA Icnd110 s02l09CCNA Icnd110 s02l09
CCNA Icnd110 s02l09
 
Exchange 2013 ABC's: Architecture, Best Practices and Client Access
Exchange 2013 ABC's: Architecture, Best Practices and Client AccessExchange 2013 ABC's: Architecture, Best Practices and Client Access
Exchange 2013 ABC's: Architecture, Best Practices and Client Access
 
Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001
 
Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
 
SharePoint 2010 High Availability - SPC2C
SharePoint 2010 High Availability - SPC2CSharePoint 2010 High Availability - SPC2C
SharePoint 2010 High Availability - SPC2C
 
Virtuoso Universal Server Overview
Virtuoso Universal Server OverviewVirtuoso Universal Server Overview
Virtuoso Universal Server Overview
 
IMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOT
IMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOTIMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOT
IMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOT
 
10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance
 
Exchange Server 2013 Architecture Deep Dive, Part 1
Exchange Server 2013 Architecture Deep Dive, Part 1Exchange Server 2013 Architecture Deep Dive, Part 1
Exchange Server 2013 Architecture Deep Dive, Part 1
 

Más de Maria Stylianou

Más de Maria Stylianou (8)

SPARJA: a Distributed Social Graph Partitioning and Replication Middleware
SPARJA: a Distributed Social Graph Partitioning and Replication MiddlewareSPARJA: a Distributed Social Graph Partitioning and Replication Middleware
SPARJA: a Distributed Social Graph Partitioning and Replication Middleware
 
Erlang in 10 minutes
Erlang in 10 minutesErlang in 10 minutes
Erlang in 10 minutes
 
Pregel - Paper Review
Pregel - Paper ReviewPregel - Paper Review
Pregel - Paper Review
 
Google's Dremel
Google's DremelGoogle's Dremel
Google's Dremel
 
A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...
A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...
A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...
 
Performance Analysis of multithreaded applications based on Hardware Simulati...
Performance Analysis of multithreaded applications based on Hardware Simulati...Performance Analysis of multithreaded applications based on Hardware Simulati...
Performance Analysis of multithreaded applications based on Hardware Simulati...
 
Instrumenting the MG applicaiton of NAS Parallel Benchmark
Instrumenting the MG applicaiton of NAS Parallel BenchmarkInstrumenting the MG applicaiton of NAS Parallel Benchmark
Instrumenting the MG applicaiton of NAS Parallel Benchmark
 
How Companies Learn Your Secrets
How Companies Learn Your SecretsHow Companies Learn Your Secrets
How Companies Learn Your Secrets
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

EEDC - Why use of REST for Web Services

  • 1. Why Use of SOAP REST for Web Services ? Maria Stylianou – marsty5@gmail.com 34330 EEDC – Execution Environments in Distributed Computing
  • 2. SOAP (Protocol) REST (Architecture) Rules, rules & rules Based on HTTP Looks like WWW NOT simple at all Easy XML format Simple Stateless Lightweight Too much overhead Lots of Representations 34330 EEDC – Execution Environments in Distributed Computing
  • 3. SOAP (Protocol) REST (Architecture) Change on the service FLEXIBILITY Clients stop working Clients keep working POST to query/change GET to query data data Dangerous Safe Difficult to cache Cacheable & Scalable 34330 EEDC – Execution Environments in Distributed Computing
  • 4. SOAP REST! 34330 EEDC – Execution Environments in Distributed Computing
  • 5. SOAP REST! REST! BEST! 34330 EEDC – Execution Environments in Distributed Computing

Notas del editor

  1. So, let’s say we have a web-service with the server responsible for is and some clients.SOAP: Simple Object Access ProtocolREST:Representational State Transfer1 SOAP (Simple Object Access Protocol) is a protocol, which defines rules that have to be valid for the messages to be sent between the server and the clients. This makes the Simple Object Access Protocol anything BUT simple!2 Like this wasn’t enough, these messages have to be in XML format and always wrapped in an envelop => That causes too much overhead.On the other hand, REST (Representational State Transfer) is an architecture based on HTTP. That’s why it looks like World Wide Web!That’s why it’s (a) EASY to build, (b) SIMPLE to understandand to use. It is also (c) LIGHTWEIGHT since it sends only HTTP requests using HTTP methods.Lastly (d) It can represent lots of different objects: XML, jpg, gif
  2. What’s more:SOAP is known for its inflexibility. One simple change to the service may lead to a total paralysis of the workers. Instead, the REAST is flexible and clients can “realize” the difference and keep working.Furthermore, SOAP uses POST to communicate with a service; to query or modify data. This may be dangerous as it’s more difficult to find if something goes wrong in an XML-formatted message. It is also difficult to cache a response for an XML message.REST, clients can send GET to request for some data. GET is not used for modification and therefore it offers safety! Additionally, it becomes scalable since it’s very easy to cache responses for GET requests!
  3. So,KEEP IT SIMPLEKEEP IT REST!
  4. So,KEEP IT SIMPLEKEEP IT REST!