SlideShare a Scribd company logo
SOA in the API World –
Facades, Transactions, Stateless Services . . .
Apigee
@apigee
Brian Pagano
@brianpagano
Greg Brail
@gbrail
groups.google.com/group/api-craft
youtube.com/apigee
slideshare.net/apigee
@brianpagano
Brian Pagano
@gbrail
Greg Brail
SOA’s Adventures in API-Land - Recap
Services? I’ve got services! (Designing a Façade)
Layers: Separation of Responsibility (which Transactions?)
Do I make my services stateless?
How to design internal APIs?
Overview
Previously on
SOA’s Adventures in
API-Land…
Let’s make sure we’re all talking about the same thing.
And let’s only talk about the core principles of SOA, not
the cruft that vendors have added on.
Some product features have started to be thought of as
necessary for SOA.
SOA recap
But SOA is about Service Oriented Architecture.
Services are good.
This taps into the deeper philosophy of breaking
down problems into components.
Components are good.
A service oriented architecture might include,
but does not require:
• Heavyweight contracts
• Service registries
• Dynamic discovery
These are product “features”.
Services? I’ve Got
Services
You’ve got services
Now you need to design a Facade
Avoid the forklift anti-pattern
What are your service consumers using?
(Customers, partners, …)
What are your company goals for this API?
revenue, reach, holding market share, re-
using existing assets
Design a single, RESTful façade that looks
outside-in
Don’t expose implementation complexity
Transformation OnboardingProtocol Mediation
Big
System
DB
Content
Management SOAP JDBC
App
App
Developer
XML
Routing Authentication Traffic Mgmt Caching Monitoring
API Facade
Be consistent
Do what developers are expecting.
Layers:
Separation of Responsibility
What types of things should a proxy do?
What types of things would you not want
to do in a proxy?
Do I Make My Services
Stateless?
Yes. Make your services stateless.
Unless you have a good reason not to.
But, what do we mean by “stateless”?
State can be either data entity state or session/activity
state.
A stateless service never holds data or business domain
state.
A stateless service minimizes holding any activity or
processing state information. (Session data is especially
bad)
Consider a shopping cart:
A. The client maintains the state and sends the whole thing
back and forth every time
or:
B. The server maintains the cart in memory via a temporary
“session ID”, and the server empties the cart after some
inactivity
or:
B. The server maintains the cart in a database via a permanent
“shopping cart ID”
Plan A: Requiring the client to maintain all state – is
impractical
Plan C : Storing the state in a database – gives the
developer what they expect, and gives business
benefits too
But
Plan B: A “session” – was popular in the Web 1.0 era
but is unnecessary in today’s world of scalable and
available databases
How To Design
Internal APIs
No
Are Internal APIs Just SOA?
Internal APIs are APIs which are not exposed to
the outside world.
SOA is SOA
Let’s keep these things straight.
Design internal APIs with the same level of
consumability as you would an externally-
facing API.
Why should you use APIs rather than SOA as the
model for your internal services?
 You will want to use the same services for both mobile apps
and your web apps
 You don’t know what kinds of device technology your API will
need to support in the future
 You don’t know what kinds of web app technology your
developers will want to use in the future
 You do know that it will all change and you will have to adapt
quickly
Down the road, who knows . . .
What does “internal” mean anyway?
Besides, you might use them again for a
different audience.
In Sum
SOA still has uses in the API world
An API layer is critical to meet today’s business
demands
Sometimes they work well together
Expose functionality, not systems or
implementation complexity
SOA in the API World - Facades, Transactions, Stateless Services
Questions
groups.google.com/group/api-craft
THANK YOU
Questions and ideas to:
@brianpagano
@gbrail
groups.google.com/group/api-craft

More Related Content

PPTX
Transition from SOA to APIs for the App Economy - Bending the Spoon
Apigee | Google Cloud
 
PPT
Why APIs are Different Than Integration
Apigee | Google Cloud
 
PPTX
Realizing SOA and API Convergence
Akana
 
PPTX
Architecture for the API-enterprise
Apigee | Google Cloud
 
PDF
Lean Method for Building Good APIs for Business – APIOps Cycles
Nordic APIs
 
PPT
Why APIs are not SOA++
Apigee | Google Cloud
 
PPTX
API First: Going Beyond SOA, ESBs, and Integration
Apigee | Google Cloud
 
PDF
Be My API How to Implement an API Strategy Everyone will Love
CA API Management
 
Transition from SOA to APIs for the App Economy - Bending the Spoon
Apigee | Google Cloud
 
Why APIs are Different Than Integration
Apigee | Google Cloud
 
Realizing SOA and API Convergence
Akana
 
Architecture for the API-enterprise
Apigee | Google Cloud
 
Lean Method for Building Good APIs for Business – APIOps Cycles
Nordic APIs
 
Why APIs are not SOA++
Apigee | Google Cloud
 
API First: Going Beyond SOA, ESBs, and Integration
Apigee | Google Cloud
 
Be My API How to Implement an API Strategy Everyone will Love
CA API Management
 

What's hot (20)

PPTX
APIs in the Enterprise -Lessons Learned
Apigee | Google Cloud
 
PDF
WSO2Con EU 2015: Towards a Winning API Strategy
WSO2
 
PDF
Evolution of API Management in the BBC
Nordic APIs
 
PPTX
Powering Internal API Communities
Akana
 
PPT
API Strategy Presentation
Lawrence Coburn
 
PPTX
API Management
Roger van de Kimmenade
 
PPTX
API Management Workshop (at Startupbootcamp Berlin)
3scale
 
PDF
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
apidays
 
PPTX
Open api in enterprise
Guru Lakshmeekar B
 
PDF
Intel Mashery API Management Solution
David Gevorkyan
 
PDF
Api for dummies
Patrick Bouillaud
 
PDF
API Maturity Model (Webcast with Accenture)
Apigee | Google Cloud
 
PPTX
API Management
Prolifics
 
PDF
Dependency Down, Flexibility Up – The Benefits of API-First Development
Nordic APIs
 
PPTX
Cross Platform Mobile Apps with APIs from Qcon San Francisco
CA API Management
 
PPTX
Public API
Amir Zuker
 
PDF
API Best Practices Webinar: Metrics - What to Measure
Apigee | Google Cloud
 
PPTX
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
LaunchAny
 
PPTX
Succeed with a Developer-Centric API Strategy - Ronnie Mitra, Principal API A...
CA API Management
 
PDF
The Architecture of an API Platform
Johannes Ridderstedt
 
APIs in the Enterprise -Lessons Learned
Apigee | Google Cloud
 
WSO2Con EU 2015: Towards a Winning API Strategy
WSO2
 
Evolution of API Management in the BBC
Nordic APIs
 
Powering Internal API Communities
Akana
 
API Strategy Presentation
Lawrence Coburn
 
API Management
Roger van de Kimmenade
 
API Management Workshop (at Startupbootcamp Berlin)
3scale
 
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
apidays
 
Open api in enterprise
Guru Lakshmeekar B
 
Intel Mashery API Management Solution
David Gevorkyan
 
Api for dummies
Patrick Bouillaud
 
API Maturity Model (Webcast with Accenture)
Apigee | Google Cloud
 
API Management
Prolifics
 
Dependency Down, Flexibility Up – The Benefits of API-First Development
Nordic APIs
 
Cross Platform Mobile Apps with APIs from Qcon San Francisco
CA API Management
 
Public API
Amir Zuker
 
API Best Practices Webinar: Metrics - What to Measure
Apigee | Google Cloud
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
LaunchAny
 
Succeed with a Developer-Centric API Strategy - Ronnie Mitra, Principal API A...
CA API Management
 
The Architecture of an API Platform
Johannes Ridderstedt
 
Ad

Viewers also liked (10)

PDF
6 Reasons Why APIs Are Reshaping Your Business
Fabernovel
 
PDF
API World 2013 - Transforming the Netflix API
Benjamin Schmaus
 
PDF
Netflix Global Cloud Architecture
Adrian Cockcroft
 
PPTX
API Frenzy: API Strategy 101
Akana
 
PDF
Microservices in the Enterprise: A Research Study and Reference Architecture
Jesus Rodriguez
 
PDF
Deep dive: Monetize your API Programs
Apigee | Google Cloud
 
PDF
Real World API Business Models That Worked
ProgrammableWeb
 
PDF
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
PDF
La marque employeur disruptée
Fabernovel
 
PDF
Welcome to the API Economy: Developing Your API Strategy
MuleSoft
 
6 Reasons Why APIs Are Reshaping Your Business
Fabernovel
 
API World 2013 - Transforming the Netflix API
Benjamin Schmaus
 
Netflix Global Cloud Architecture
Adrian Cockcroft
 
API Frenzy: API Strategy 101
Akana
 
Microservices in the Enterprise: A Research Study and Reference Architecture
Jesus Rodriguez
 
Deep dive: Monetize your API Programs
Apigee | Google Cloud
 
Real World API Business Models That Worked
ProgrammableWeb
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
La marque employeur disruptée
Fabernovel
 
Welcome to the API Economy: Developing Your API Strategy
MuleSoft
 
Ad

Similar to SOA in the API World - Facades, Transactions, Stateless Services (20)

PDF
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays
 
PPTX
Your API is not a Website!
Apigee | Google Cloud
 
PPTX
API Design Principles using Oracle Apiary.io
Rolando Carrasco
 
PDF
The API SlideShare for Bankers and Fintech Executives
MX
 
PPTX
Styleguide for your APIs
Rolando Carrasco
 
PDF
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
PDF
Octo API-days 2015
Antoine CHANTALOU
 
PDF
Why your APIs should fly first class
LibbySchulze
 
PPTX
API Design Principles with Oracle Apiary.
Rolando Carrasco
 
PPTX
The relevance of design principles for WEB APIs
Rolando Carrasco
 
PDF
Your API is your Product - Arun Ravindran, Unisys
baconfblr
 
PPTX
Auckland API & Microservices Meetup 1: API led design
Damian Harvey
 
PPSX
APIs as a Product Strategy
Ravi Kumar
 
PPTX
apidays LIVE India 2022 - Building the API Banking capability
apidays
 
PDF
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
apidays
 
PDF
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2
 
PPTX
Introduction to Serverless. Oracle Fn Project.
Rolando Carrasco
 
PPTX
Azure API Management - why should I care?
Jouni Heikniemi
 
PDF
An Introduction to the WSO2 API Manager
WSO2
 
PDF
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias
 
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays
 
Your API is not a Website!
Apigee | Google Cloud
 
API Design Principles using Oracle Apiary.io
Rolando Carrasco
 
The API SlideShare for Bankers and Fintech Executives
MX
 
Styleguide for your APIs
Rolando Carrasco
 
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
Octo API-days 2015
Antoine CHANTALOU
 
Why your APIs should fly first class
LibbySchulze
 
API Design Principles with Oracle Apiary.
Rolando Carrasco
 
The relevance of design principles for WEB APIs
Rolando Carrasco
 
Your API is your Product - Arun Ravindran, Unisys
baconfblr
 
Auckland API & Microservices Meetup 1: API led design
Damian Harvey
 
APIs as a Product Strategy
Ravi Kumar
 
apidays LIVE India 2022 - Building the API Banking capability
apidays
 
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
apidays
 
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2
 
Introduction to Serverless. Oracle Fn Project.
Rolando Carrasco
 
Azure API Management - why should I care?
Jouni Heikniemi
 
An Introduction to the WSO2 API Manager
WSO2
 
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias
 

More from Apigee | Google Cloud (20)

PDF
How Secure Are Your APIs?
Apigee | Google Cloud
 
PDF
Magazine Luiza at a glance (1)
Apigee | Google Cloud
 
PPTX
Monetization: Unlock More Value from Your APIs
Apigee | Google Cloud
 
PDF
Apigee Demo: API Platform Overview
Apigee | Google Cloud
 
PDF
Ticketmaster at a glance
Apigee | Google Cloud
 
PDF
AccuWeather: Recasting API Experiences in a Developer-First World
Apigee | Google Cloud
 
PDF
Which Application Modernization Pattern Is Right For You?
Apigee | Google Cloud
 
PPTX
Apigee Product Roadmap Part 2
Apigee | Google Cloud
 
PPTX
The Four Transformative Forces of the API Management Market
Apigee | Google Cloud
 
PDF
Walgreens at a glance
Apigee | Google Cloud
 
PDF
Apigee Edge: Intro to Microgateway
Apigee | Google Cloud
 
PDF
Managing the Complexity of Microservices Deployments
Apigee | Google Cloud
 
PDF
Pitney Bowes at a glance
Apigee | Google Cloud
 
PPTX
Microservices Done Right: Key Ingredients for Microservices Success
Apigee | Google Cloud
 
PDF
Adapt or Die: Opening Keynote with Chet Kapoor
Apigee | Google Cloud
 
PDF
Adapt or Die: Keynote with Greg Brail
Apigee | Google Cloud
 
PDF
Adapt or Die: Keynote with Anant Jhingran
Apigee | Google Cloud
 
PDF
London Adapt or Die: Opening Keynot
Apigee | Google Cloud
 
PDF
London Adapt or Die: Lunch keynote
Apigee | Google Cloud
 
PDF
London Adapt or Die: Closing Keynote — Adapt Now!
Apigee | Google Cloud
 
How Secure Are Your APIs?
Apigee | Google Cloud
 
Magazine Luiza at a glance (1)
Apigee | Google Cloud
 
Monetization: Unlock More Value from Your APIs
Apigee | Google Cloud
 
Apigee Demo: API Platform Overview
Apigee | Google Cloud
 
Ticketmaster at a glance
Apigee | Google Cloud
 
AccuWeather: Recasting API Experiences in a Developer-First World
Apigee | Google Cloud
 
Which Application Modernization Pattern Is Right For You?
Apigee | Google Cloud
 
Apigee Product Roadmap Part 2
Apigee | Google Cloud
 
The Four Transformative Forces of the API Management Market
Apigee | Google Cloud
 
Walgreens at a glance
Apigee | Google Cloud
 
Apigee Edge: Intro to Microgateway
Apigee | Google Cloud
 
Managing the Complexity of Microservices Deployments
Apigee | Google Cloud
 
Pitney Bowes at a glance
Apigee | Google Cloud
 
Microservices Done Right: Key Ingredients for Microservices Success
Apigee | Google Cloud
 
Adapt or Die: Opening Keynote with Chet Kapoor
Apigee | Google Cloud
 
Adapt or Die: Keynote with Greg Brail
Apigee | Google Cloud
 
Adapt or Die: Keynote with Anant Jhingran
Apigee | Google Cloud
 
London Adapt or Die: Opening Keynot
Apigee | Google Cloud
 
London Adapt or Die: Lunch keynote
Apigee | Google Cloud
 
London Adapt or Die: Closing Keynote — Adapt Now!
Apigee | Google Cloud
 

Recently uploaded (20)

PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Doc9.....................................
SofiaCollazos
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Software Development Methodologies in 2025
KodekX
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 

SOA in the API World - Facades, Transactions, Stateless Services

  • 1. SOA in the API World – Facades, Transactions, Stateless Services . . . Apigee @apigee Brian Pagano @brianpagano Greg Brail @gbrail
  • 6. SOA’s Adventures in API-Land - Recap Services? I’ve got services! (Designing a Façade) Layers: Separation of Responsibility (which Transactions?) Do I make my services stateless? How to design internal APIs? Overview
  • 8. Let’s make sure we’re all talking about the same thing. And let’s only talk about the core principles of SOA, not the cruft that vendors have added on. Some product features have started to be thought of as necessary for SOA. SOA recap
  • 9. But SOA is about Service Oriented Architecture. Services are good. This taps into the deeper philosophy of breaking down problems into components. Components are good.
  • 10. A service oriented architecture might include, but does not require: • Heavyweight contracts • Service registries • Dynamic discovery These are product “features”.
  • 12. You’ve got services Now you need to design a Facade
  • 13. Avoid the forklift anti-pattern
  • 14. What are your service consumers using? (Customers, partners, …)
  • 15. What are your company goals for this API? revenue, reach, holding market share, re- using existing assets
  • 16. Design a single, RESTful façade that looks outside-in Don’t expose implementation complexity
  • 17. Transformation OnboardingProtocol Mediation Big System DB Content Management SOAP JDBC App App Developer XML Routing Authentication Traffic Mgmt Caching Monitoring API Facade
  • 19. Do what developers are expecting.
  • 21. What types of things should a proxy do?
  • 22. What types of things would you not want to do in a proxy?
  • 23. Do I Make My Services Stateless?
  • 24. Yes. Make your services stateless. Unless you have a good reason not to.
  • 25. But, what do we mean by “stateless”? State can be either data entity state or session/activity state.
  • 26. A stateless service never holds data or business domain state. A stateless service minimizes holding any activity or processing state information. (Session data is especially bad)
  • 27. Consider a shopping cart: A. The client maintains the state and sends the whole thing back and forth every time or: B. The server maintains the cart in memory via a temporary “session ID”, and the server empties the cart after some inactivity or: B. The server maintains the cart in a database via a permanent “shopping cart ID”
  • 28. Plan A: Requiring the client to maintain all state – is impractical Plan C : Storing the state in a database – gives the developer what they expect, and gives business benefits too But Plan B: A “session” – was popular in the Web 1.0 era but is unnecessary in today’s world of scalable and available databases
  • 30. No Are Internal APIs Just SOA?
  • 31. Internal APIs are APIs which are not exposed to the outside world. SOA is SOA Let’s keep these things straight.
  • 32. Design internal APIs with the same level of consumability as you would an externally- facing API.
  • 33. Why should you use APIs rather than SOA as the model for your internal services?  You will want to use the same services for both mobile apps and your web apps  You don’t know what kinds of device technology your API will need to support in the future  You don’t know what kinds of web app technology your developers will want to use in the future  You do know that it will all change and you will have to adapt quickly
  • 34. Down the road, who knows . . . What does “internal” mean anyway? Besides, you might use them again for a different audience.
  • 35. In Sum SOA still has uses in the API world An API layer is critical to meet today’s business demands Sometimes they work well together Expose functionality, not systems or implementation complexity
  • 39. THANK YOU Questions and ideas to: @brianpagano @gbrail groups.google.com/group/api-craft

Editor's Notes

  • #2: Creative Commons Attribution-Share Alike 3.0 United States License