SlideShare una empresa de Scribd logo
1 de 30
Descargar para leer sin conexión
Exploring REST Purity and
       Pragmatism

           Samisa Abeysinghe
        Vice President Engineering
REST
• General idea
  – It is simple
  – Widely used
  – “cool” & state of the art
  – And ideal for SOA & the enterprise


                     True?
Yes

Simple               Cool

          REST is…

Popular              Used
From Theory to Practice
• Can simplicity meet complexity?

• Can REST be used in enterprise?
REST for Enterprise

               Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
REST Principles
                           Verbs


                       CRUD and more
                    (PUT, GET,POST,DELETE
     Names            … HEAD, OPTIONS)        Representations


    URI, XRI                                HTML, XML or Binary
(http://acme.com/                           (text/html, text/xml,
    customers)                                   image/png)




                      Resources
Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
Services vs APIs
• Services are what you develop
• APIs are what you expose
  – “The interface”
  – How can you consume the service?
RESTful APIs
• REST (REpresentational State Transfer)
  – An architectural style based on transferring
    representations of resources from a server to a
    client
• RESTful Web services
  – Web services built on the REST principles
  – Also called a RESTful Web API
  – http://en.wikipedia.org/wiki/Representational_sta
    te_transfer#RESTful_web_services
The Interface Matters
• It is not the implementation that matter
• But the interface
  – And got to be managed and maintained
    systematically
Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
Manage Life-Cycles




Service             API
Tools for Life-Cycle Management
Tools for Life-Cycle Management
Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
Securing RESTful Services

    Confidentiality                 Integrity
        HTTPS                        HTTPS


                      Security

    Authentication
                                 Non Repudiation
HTTP Basic/Digest Auth.,
                                 2-legged OAuth
 Mutual Auth., OAuth
Security Using OAuth




http://pathberiya.blogspot.com/2011/02/2-legged-oauth-to-secure-restful.html
Access Tokens



Application
                                 User Key
   Key        Used when                     Used when an
              applications are              end user is
              calling each                  using an
              other                         application
Application/User Key Generation Sequence
Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
Business Models
Business Requirements

Tiers       Metering     Throttling        Billing       Monitoring

               Usage       Tier limits
Platinum                                   Pay for use       Trends
              metering    enforcement


              Capacity    SLA & policy                      Continuous
  Gold                                       Budget
              metering    enforcement                      improvement


               Status                                       Capacity
 Silver                   Prioritization    Estimates
              tracking                                      planning
Monitoring Tools
Insights & Continuous Improvement
Services &                                           Business
Standards                        Governance         Security
                  APIs                                              Models


HTTP & Media                       Lifecycle                         Billing &
                REST Service                       HTTP vs HTTPS
   types                          management                         metering



                                   Versioning &                       Tiers &
 Interfaces     RESTful APIs                       Authentication
                                  configurations                     Throttling



Programming    Simple, quick &    Committees &         Non-
                                                                    Pay for use
  languages     Web Oriented      Conformance       Repudiation
Closing Remarks
• REST is simple, cool, popular and used
• Need to look beyond coolness to use REST for
  real
• Think of REST as a way to expose APIs
• Pay attention to good governance
• Make informed security architecture decisions
• Focus on monitoring, analysis and insights
  based continuous improvements
Resources
•   http://wso2.com/products/api-manager/
•   http://wso2.com/products/governance-registry/
•   http://wso2.com/products/business-activity-monitor/
•   http://sanjiva.weerawarana.org/2012/08/api-management-
    missing-link-for-soa.html
•   http://sumedha.blogspot.com/search/label/API
WSO2 Engagement Model
•   QuickStart
•   Development Support
•   Development Services
•   Production Support
•   http://wso2.com/support
Thank you!
bizdev@wso2.com

Más contenido relacionado

La actualidad más candente

Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus WSO2
 
Service Oriented Architecture
Service Oriented Architecture Service Oriented Architecture
Service Oriented Architecture Prabhat gangwar
 
Rest api webinar(3)
Rest api webinar(3)Rest api webinar(3)
Rest api webinar(3)WSO2
 
Enterprise service bus(esb)
Enterprise service bus(esb)Enterprise service bus(esb)
Enterprise service bus(esb)prksh89
 
OreDev 2008: Software + Services
OreDev 2008: Software + ServicesOreDev 2008: Software + Services
OreDev 2008: Software + Servicesukdpe
 
Dave Carroll Application Services Salesforce
Dave Carroll Application Services SalesforceDave Carroll Application Services Salesforce
Dave Carroll Application Services Salesforcedeimos
 
Introduction to Service Oriented Architecture
Introduction to Service Oriented ArchitectureIntroduction to Service Oriented Architecture
Introduction to Service Oriented ArchitectureDATA Inc.
 
Building a Hybrid Platform as a Service
Building a Hybrid Platform as a ServiceBuilding a Hybrid Platform as a Service
Building a Hybrid Platform as a ServiceWSO2
 
Tactics Esb Implementation
Tactics Esb ImplementationTactics Esb Implementation
Tactics Esb ImplementationMurali Manohar
 
Introduction to Enterprise Service Bus
Introduction to Enterprise Service BusIntroduction to Enterprise Service Bus
Introduction to Enterprise Service BusFolio3 Software
 
Designing Good API & Its Importance
Designing Good API & Its ImportanceDesigning Good API & Its Importance
Designing Good API & Its ImportanceImran M Yousuf
 
adrian coyler open tour keynote
adrian coyler open tour keynoteadrian coyler open tour keynote
adrian coyler open tour keynotemarklucovsky
 
SOA & ESB Presentation
SOA & ESB PresentationSOA & ESB Presentation
SOA & ESB Presentationerichleipold
 
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
(ATS3-GS03) Accelrys Enterprise Platform Deeper DiveBIOVIA
 
02 Ms Online Identity Session 1
02 Ms Online Identity   Session 102 Ms Online Identity   Session 1
02 Ms Online Identity Session 1Sivadon Chaisiri
 
An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...
An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...
An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...WSO2
 

La actualidad más candente (20)

Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus Enterprise Use Case - Selecting an Enterprise Service Bus
Enterprise Use Case - Selecting an Enterprise Service Bus
 
Service Oriented Architecture
Service Oriented Architecture Service Oriented Architecture
Service Oriented Architecture
 
Rest api webinar(3)
Rest api webinar(3)Rest api webinar(3)
Rest api webinar(3)
 
Enterprise service bus(esb)
Enterprise service bus(esb)Enterprise service bus(esb)
Enterprise service bus(esb)
 
OreDev 2008: Software + Services
OreDev 2008: Software + ServicesOreDev 2008: Software + Services
OreDev 2008: Software + Services
 
Nuno Godinho
Nuno GodinhoNuno Godinho
Nuno Godinho
 
Dave Carroll Application Services Salesforce
Dave Carroll Application Services SalesforceDave Carroll Application Services Salesforce
Dave Carroll Application Services Salesforce
 
Introduction to Service Oriented Architecture
Introduction to Service Oriented ArchitectureIntroduction to Service Oriented Architecture
Introduction to Service Oriented Architecture
 
Building a Hybrid Platform as a Service
Building a Hybrid Platform as a ServiceBuilding a Hybrid Platform as a Service
Building a Hybrid Platform as a Service
 
Tactics Esb Implementation
Tactics Esb ImplementationTactics Esb Implementation
Tactics Esb Implementation
 
Excelencia Oracle Practice
Excelencia Oracle PracticeExcelencia Oracle Practice
Excelencia Oracle Practice
 
ESB Overview
ESB OverviewESB Overview
ESB Overview
 
Introduction to Enterprise Service Bus
Introduction to Enterprise Service BusIntroduction to Enterprise Service Bus
Introduction to Enterprise Service Bus
 
Conversys Profile
Conversys ProfileConversys Profile
Conversys Profile
 
Designing Good API & Its Importance
Designing Good API & Its ImportanceDesigning Good API & Its Importance
Designing Good API & Its Importance
 
adrian coyler open tour keynote
adrian coyler open tour keynoteadrian coyler open tour keynote
adrian coyler open tour keynote
 
SOA & ESB Presentation
SOA & ESB PresentationSOA & ESB Presentation
SOA & ESB Presentation
 
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
 
02 Ms Online Identity Session 1
02 Ms Online Identity   Session 102 Ms Online Identity   Session 1
02 Ms Online Identity Session 1
 
An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...
An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...
An Enhanced User Experience for Automobile Purchases with the WSO2 Mobile Ser...
 

Destacado

Introducing the All New WSO2 BAM 2.0
Introducing the All New WSO2 BAM 2.0Introducing the All New WSO2 BAM 2.0
Introducing the All New WSO2 BAM 2.0WSO2
 
Analyzing the Effectiveness of Mobile and Web Channels using WSO2 BAM
Analyzing the Effectiveness of Mobile and Web Channels using WSO2 BAMAnalyzing the Effectiveness of Mobile and Web Channels using WSO2 BAM
Analyzing the Effectiveness of Mobile and Web Channels using WSO2 BAMWSO2
 
Right-size Deployment Instances to Meet Enterprise Demand
Right-size Deployment Instances to Meet Enterprise Demand Right-size Deployment Instances to Meet Enterprise Demand
Right-size Deployment Instances to Meet Enterprise Demand WSO2
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esbWSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esbWSO2
 
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...WSO2
 
WSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile ClubWSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile ClubWSO2
 
Buiding and Deploying SaaS with WSO2 as as-a-Service
Buiding and Deploying SaaS with WSO2 as as-a-ServiceBuiding and Deploying SaaS with WSO2 as as-a-Service
Buiding and Deploying SaaS with WSO2 as as-a-ServiceWSO2
 
WSO2 Intro Webinar - Scale your business with the cloud enabled WSO2 Applica...
WSO2 Intro Webinar -  Scale your business with the cloud enabled WSO2 Applica...WSO2 Intro Webinar -  Scale your business with the cloud enabled WSO2 Applica...
WSO2 Intro Webinar - Scale your business with the cloud enabled WSO2 Applica...WSO2
 
WSO2 Use Case - API Facade Pattern
WSO2 Use Case - API  Facade PatternWSO2 Use Case - API  Facade Pattern
WSO2 Use Case - API Facade PatternWSO2
 
Introducing WSO2 API Manager for Mobile Applications and Rapid Integration
Introducing WSO2 API Manager for Mobile Applications and Rapid IntegrationIntroducing WSO2 API Manager for Mobile Applications and Rapid Integration
Introducing WSO2 API Manager for Mobile Applications and Rapid IntegrationWSO2
 
Las mujeres son más atractivas
Las mujeres son más atractivasLas mujeres son más atractivas
Las mujeres son más atractivasDunia
 
Video Wagner
Video   WagnerVideo   Wagner
Video Wagnerwagneragp
 
Marketing 15
Marketing 15Marketing 15
Marketing 15ububa07
 
Denuncia Goñiz Flavia
Denuncia Goñiz FlaviaDenuncia Goñiz Flavia
Denuncia Goñiz Flavianuevoportero
 
Production piece 1 annotations
Production piece 1 annotationsProduction piece 1 annotations
Production piece 1 annotationsPJG123
 
Transparent Text
Transparent TextTransparent Text
Transparent Textfviegas
 
"Get the Most for Your Money" Presentation NYLA 2013
"Get the Most for Your Money" Presentation NYLA 2013"Get the Most for Your Money" Presentation NYLA 2013
"Get the Most for Your Money" Presentation NYLA 2013Monica Kuryla
 
Linea D E L T I E M P O S I S T E M A
Linea  D E L  T I E M P O  S I S T E M ALinea  D E L  T I E M P O  S I S T E M A
Linea D E L T I E M P O S I S T E M AChulinneitor
 

Destacado (20)

Introducing the All New WSO2 BAM 2.0
Introducing the All New WSO2 BAM 2.0Introducing the All New WSO2 BAM 2.0
Introducing the All New WSO2 BAM 2.0
 
Analyzing the Effectiveness of Mobile and Web Channels using WSO2 BAM
Analyzing the Effectiveness of Mobile and Web Channels using WSO2 BAMAnalyzing the Effectiveness of Mobile and Web Channels using WSO2 BAM
Analyzing the Effectiveness of Mobile and Web Channels using WSO2 BAM
 
Right-size Deployment Instances to Meet Enterprise Demand
Right-size Deployment Instances to Meet Enterprise Demand Right-size Deployment Instances to Meet Enterprise Demand
Right-size Deployment Instances to Meet Enterprise Demand
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esbWSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
 
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
 
WSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile ClubWSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile Club
 
Buiding and Deploying SaaS with WSO2 as as-a-Service
Buiding and Deploying SaaS with WSO2 as as-a-ServiceBuiding and Deploying SaaS with WSO2 as as-a-Service
Buiding and Deploying SaaS with WSO2 as as-a-Service
 
WSO2 Intro Webinar - Scale your business with the cloud enabled WSO2 Applica...
WSO2 Intro Webinar -  Scale your business with the cloud enabled WSO2 Applica...WSO2 Intro Webinar -  Scale your business with the cloud enabled WSO2 Applica...
WSO2 Intro Webinar - Scale your business with the cloud enabled WSO2 Applica...
 
WSO2 Use Case - API Facade Pattern
WSO2 Use Case - API  Facade PatternWSO2 Use Case - API  Facade Pattern
WSO2 Use Case - API Facade Pattern
 
Introducing WSO2 API Manager for Mobile Applications and Rapid Integration
Introducing WSO2 API Manager for Mobile Applications and Rapid IntegrationIntroducing WSO2 API Manager for Mobile Applications and Rapid Integration
Introducing WSO2 API Manager for Mobile Applications and Rapid Integration
 
Las mujeres son más atractivas
Las mujeres son más atractivasLas mujeres son más atractivas
Las mujeres son más atractivas
 
04024a
04024a04024a
04024a
 
Video Wagner
Video   WagnerVideo   Wagner
Video Wagner
 
Marketing 15
Marketing 15Marketing 15
Marketing 15
 
Denuncia Goñiz Flavia
Denuncia Goñiz FlaviaDenuncia Goñiz Flavia
Denuncia Goñiz Flavia
 
Production piece 1 annotations
Production piece 1 annotationsProduction piece 1 annotations
Production piece 1 annotations
 
Transparent Text
Transparent TextTransparent Text
Transparent Text
 
"Get the Most for Your Money" Presentation NYLA 2013
"Get the Most for Your Money" Presentation NYLA 2013"Get the Most for Your Money" Presentation NYLA 2013
"Get the Most for Your Money" Presentation NYLA 2013
 
Test 1
Test 1Test 1
Test 1
 
Linea D E L T I E M P O S I S T E M A
Linea  D E L  T I E M P O  S I S T E M ALinea  D E L  T I E M P O  S I S T E M A
Linea D E L T I E M P O S I S T E M A
 

Similar a Exploring REST Purity and Pragmatism

Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessWSO2
 
Melbourne API Management Seminar
Melbourne API Management SeminarMelbourne API Management Seminar
Melbourne API Management SeminarCA API Management
 
Enterprise Access Control Patterns for Rest and Web APIs
Enterprise Access Control Patterns for Rest and Web APIsEnterprise Access Control Patterns for Rest and Web APIs
Enterprise Access Control Patterns for Rest and Web APIsCA API Management
 
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...CA API Management
 
More Coverage, Better Diagnostics
More Coverage, Better DiagnosticsMore Coverage, Better Diagnostics
More Coverage, Better DiagnosticsSmartBear
 
CIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST APICIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST APICloudIDSummit
 
Ss Wrap Up Session 13 Aug
Ss Wrap Up Session 13 AugSs Wrap Up Session 13 Aug
Ss Wrap Up Session 13 AugWSO2
 
SOA Summer School: Best of SOA Summer School – Encore Session
SOA Summer School: Best of SOA Summer School – Encore Session SOA Summer School: Best of SOA Summer School – Encore Session
SOA Summer School: Best of SOA Summer School – Encore Session WSO2
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & DevelopmentAshok Pundit
 
TechEd Preconference
TechEd PreconferenceTechEd Preconference
TechEd PreconferenceSimon Guest
 
Windows Azure架构探析
Windows Azure架构探析Windows Azure架构探析
Windows Azure架构探析George Ang
 
Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)
Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)
Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)Codit
 
Basic of API
Basic of APIBasic of API
Basic of APIRishanKP1
 
Soa role in telco industry
Soa   role in telco industrySoa   role in telco industry
Soa role in telco industryPavan K
 
Cloudforce Essentials 2012 - Understanding Force.com in 60 Minutes or Less
Cloudforce Essentials 2012 - Understanding Force.com  in 60 Minutes or LessCloudforce Essentials 2012 - Understanding Force.com  in 60 Minutes or Less
Cloudforce Essentials 2012 - Understanding Force.com in 60 Minutes or LessSalesforce_APAC
 
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)Codit
 
Creating an Ecosystem Platform with Vertical PaaS
Creating an Ecosystem Platform with Vertical PaaSCreating an Ecosystem Platform with Vertical PaaS
Creating an Ecosystem Platform with Vertical PaaSWSO2
 
Sql Server 2012 Reporting-Services is Now a SharePoint Service Application
Sql Server 2012   Reporting-Services is Now a SharePoint Service ApplicationSql Server 2012   Reporting-Services is Now a SharePoint Service Application
Sql Server 2012 Reporting-Services is Now a SharePoint Service ApplicationInnoTech
 

Similar a Exploring REST Purity and Pragmatism (20)

Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your business
 
Melbourne API Management Seminar
Melbourne API Management SeminarMelbourne API Management Seminar
Melbourne API Management Seminar
 
Enterprise Access Control Patterns for Rest and Web APIs
Enterprise Access Control Patterns for Rest and Web APIsEnterprise Access Control Patterns for Rest and Web APIs
Enterprise Access Control Patterns for Rest and Web APIs
 
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
 
More Coverage, Better Diagnostics
More Coverage, Better DiagnosticsMore Coverage, Better Diagnostics
More Coverage, Better Diagnostics
 
CIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST APICIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST API
 
Ss Wrap Up Session 13 Aug
Ss Wrap Up Session 13 AugSs Wrap Up Session 13 Aug
Ss Wrap Up Session 13 Aug
 
SOA Summer School: Best of SOA Summer School – Encore Session
SOA Summer School: Best of SOA Summer School – Encore Session SOA Summer School: Best of SOA Summer School – Encore Session
SOA Summer School: Best of SOA Summer School – Encore Session
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
 
TechEd Preconference
TechEd PreconferenceTechEd Preconference
TechEd Preconference
 
Api design part 1
Api design part 1Api design part 1
Api design part 1
 
Windows Azure架构探析
Windows Azure架构探析Windows Azure架构探析
Windows Azure架构探析
 
apiGrove
apiGroveapiGrove
apiGrove
 
Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)
Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)
Enable Oauth2.0 with Sentinet API Management (Massimo Crippa @ BTUG Event)
 
Basic of API
Basic of APIBasic of API
Basic of API
 
Soa role in telco industry
Soa   role in telco industrySoa   role in telco industry
Soa role in telco industry
 
Cloudforce Essentials 2012 - Understanding Force.com in 60 Minutes or Less
Cloudforce Essentials 2012 - Understanding Force.com  in 60 Minutes or LessCloudforce Essentials 2012 - Understanding Force.com  in 60 Minutes or Less
Cloudforce Essentials 2012 - Understanding Force.com in 60 Minutes or Less
 
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
 
Creating an Ecosystem Platform with Vertical PaaS
Creating an Ecosystem Platform with Vertical PaaSCreating an Ecosystem Platform with Vertical PaaS
Creating an Ecosystem Platform with Vertical PaaS
 
Sql Server 2012 Reporting-Services is Now a SharePoint Service Application
Sql Server 2012   Reporting-Services is Now a SharePoint Service ApplicationSql Server 2012   Reporting-Services is Now a SharePoint Service Application
Sql Server 2012 Reporting-Services is Now a SharePoint Service Application
 

Más de WSO2

Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in ChoreoWSO2
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023WSO2
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzureWSO2
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfWSO2
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in MinutesWSO2
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityWSO2
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...WSO2
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfWSO2
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoWSO2
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsWSO2
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital BusinessesWSO2
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)WSO2
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformationWSO2
 
Adding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesAdding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesWSO2
 
Building a Future-ready Bank
Building a Future-ready BankBuilding a Future-ready Bank
Building a Future-ready BankWSO2
 
WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIsWSO2
 
[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native DeploymentWSO2
 
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”WSO2
 

Más de WSO2 (20)

Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in Choreo
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on Azure
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdf
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos Identity
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdf
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformation
 
Adding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesAdding Liveliness to Banking Experiences
Adding Liveliness to Banking Experiences
 
Building a Future-ready Bank
Building a Future-ready BankBuilding a Future-ready Bank
Building a Future-ready Bank
 
WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs
 
[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment
 
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
[API Word 2021] - Quantum Duality of “API as a Business and a Technology”
 

Exploring REST Purity and Pragmatism

  • 1. Exploring REST Purity and Pragmatism Samisa Abeysinghe Vice President Engineering
  • 2. REST • General idea – It is simple – Widely used – “cool” & state of the art – And ideal for SOA & the enterprise True?
  • 3. Yes Simple Cool REST is… Popular Used
  • 4. From Theory to Practice • Can simplicity meet complexity? • Can REST be used in enterprise?
  • 5. REST for Enterprise Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 6. Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 7. REST Principles Verbs CRUD and more (PUT, GET,POST,DELETE Names … HEAD, OPTIONS) Representations URI, XRI HTML, XML or Binary (http://acme.com/ (text/html, text/xml, customers) image/png) Resources
  • 8. Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 9. Services vs APIs • Services are what you develop • APIs are what you expose – “The interface” – How can you consume the service?
  • 10. RESTful APIs • REST (REpresentational State Transfer) – An architectural style based on transferring representations of resources from a server to a client • RESTful Web services – Web services built on the REST principles – Also called a RESTful Web API – http://en.wikipedia.org/wiki/Representational_sta te_transfer#RESTful_web_services
  • 11. The Interface Matters • It is not the implementation that matter • But the interface – And got to be managed and maintained systematically
  • 12. Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 14. Tools for Life-Cycle Management
  • 15. Tools for Life-Cycle Management
  • 16. Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 17. Securing RESTful Services Confidentiality Integrity HTTPS HTTPS Security Authentication Non Repudiation HTTP Basic/Digest Auth., 2-legged OAuth Mutual Auth., OAuth
  • 19. Access Tokens Application User Key Key Used when Used when an applications are end user is calling each using an other application
  • 21. Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 23. Business Requirements Tiers Metering Throttling Billing Monitoring Usage Tier limits Platinum Pay for use Trends metering enforcement Capacity SLA & policy Continuous Gold Budget metering enforcement improvement Status Capacity Silver Prioritization Estimates tracking planning
  • 25. Insights & Continuous Improvement
  • 26. Services & Business Standards Governance Security APIs Models HTTP & Media Lifecycle Billing & REST Service HTTP vs HTTPS types management metering Versioning & Tiers & Interfaces RESTful APIs Authentication configurations Throttling Programming Simple, quick & Committees & Non- Pay for use languages Web Oriented Conformance Repudiation
  • 27. Closing Remarks • REST is simple, cool, popular and used • Need to look beyond coolness to use REST for real • Think of REST as a way to expose APIs • Pay attention to good governance • Make informed security architecture decisions • Focus on monitoring, analysis and insights based continuous improvements
  • 28. Resources • http://wso2.com/products/api-manager/ • http://wso2.com/products/governance-registry/ • http://wso2.com/products/business-activity-monitor/ • http://sanjiva.weerawarana.org/2012/08/api-management- missing-link-for-soa.html • http://sumedha.blogspot.com/search/label/API
  • 29. WSO2 Engagement Model • QuickStart • Development Support • Development Services • Production Support • http://wso2.com/support