are apis and soa converging?

19
Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved. Are APIs and SOA Converging? Sachin Agarwal VP Product Marketing SOA Software

Post on 19-Oct-2014

250 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

Are APIs and SOA

Converging?

Sachin Agarwal VP Product MarketingSOA Software

Page 2: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

What is SOA?

Page 3: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

What is SOA?

Page 4: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

What is SOA?

• Service Oriented Architecture : A loosely-coupled architecture designed to meet the business needs of the organization.

Page 5: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

SOAP, WSDL, UDDI and Repository

• SOA was initially focused on UDDI, WSDL and SOAP

• SOAP had widespread adoption• WSDL provided interface definition• UDDI standard, while ratified, lost

support• UDDI Registry as replaced by the

Repository

• But due to complexities of type of integration challenges, SOAP/XML became “heavy weight”

Page 6: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

What are APIs?

Page 7: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

What is an API?

Your ApplicationYour APIYour Customers

Page 8: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

Characteristics of an API

• Well documented (human-readable)

• Easy to consume• Can be self-

provisioned by developers and partners

• Published through an API Portal

Page 9: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

Extend the Reach of your Business

Page 10: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

Capture new Opportunities with APIs

Drive Innovation

Increase Reach

Support New Devices

Discover New Business Models

Increase Partner Network

Page 11: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

The API Advantage

• Easy to consume• Well documented• Self Provisioned• Developers are attracted to use the best APIs• Business Driven

Page 12: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

API AND SOA MYTHS

Page 13: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

Myths and Facts

Myth Fact

SOA is a technology SOA is a design philosophy independent of any vendor, product, technology or industry trend.

SOA requires web services/SOAP

SOA is not limited to SOAP/web services

APIs are not SOA APIs are services, and in that aspect are more like SOA

APIs require REST/JSON APIs are not limited to REST/JSON

SOA is internal, APIs are external

While the open model of APIs make it more suited for external consumption, they could each be used in either scenarios

Page 14: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

The relationship between APIs and SOA

Page 15: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

The 3-Tiers of APIs and SOA Lifecycle

BusinessFoundation/FunctionalTier

Service Arch.LifecycleData Arch.API Design

Non-FunctionalTier

Security, Mediation, Orchestration, QoS, Analytics

ProtocolTier

Publishing, OAuth, Portal, WSDL Swagger ,etc.

Page 16: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

APIs vs. SOA

• APIs are a superset of Web Services – it is a business differentiation, not a technical one– Business, product focus– APIs are open, easy to consume

• Documentation– APIs

• Pro : Human readable• Con : Change management is subjective

– Web Services primarily use WSDL and WS-Policy• Pro : Change management is explicit• Con : Difficult to understand

• Security– APIs typically leverage OAuth or HTTP request signing

mechanisms for security• Transport-based (HTTP)

– SOA leverages WS-S, SAML, WS-Trust, etc• Message-based

Page 17: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

The Need for Both

• Simplify Documentation– Document generation– Code generation

• APIs may need to be SOAP as well as JSON/REST• Security mediation between web standards and WS-*

standards is critical• A deep understanding of the different standards and policies

is required, including:– OAuth 1.0a/2.0– Header-based signature mechanisms– SAML– WS-Security– XACML– OpenID/Connect

Page 18: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

Are API and SOA Converging?

SOA, in its focus on machine to machine integration and standardization, forgot about the human in the

equation.

APIs, in their focus on ease of use, have forgotten about management, lifecycle and control.

You need both

Page 19: Are APIs and SOA Converging?

Copyright © 2001-2013 SOA Software, Inc. All Rights Reserved.

API and SOA Resources

• Resource Center– http://resource.soa.com/

• Webinar Recording– http://resource.soa.com/resource/webinars

• Follow us on:

www.facebook.com/soasoftware

www.linkedin.com/company/soasoftware

@soasoftwareinc