Profile picture for user iamsaanvi

There are a lot of What is the difference between... questions out there but I couldn't find this one.

Wikipedia says this about an API

An application programming interface (API) is a source code-based specification intended to be used as an interface by software components to communicate with each other. 



And this about SOA

SOA also generally provides a way for consumers of services, such as web-based applications, to be aware of available SOA-based services. 

Aren't both technologies where you present services to other services?

Could someone expand on this?

Aren't both technologies where you present services to other services?

Could someone expand on this?

Thank you

by M. Zschuckelt
Posted on Tue, 09/26/2017 - 12:58

SOA is, as the name "Service-oriented architecture" implies, an architectural paradigm: Offer all IT and business functionality as services and make the services known in a service registry. Use the simple services to compose higher level business services and orchestrate the business services by using them in business processes to accomplish the goal of your business.

An API is exactly what you cited from Wikipedia: A source code-based specification. So an API is written in a programming language and offers function calls a program written in that language can use. It makes sense when following the SOA paradigm to publish APIs to your service layer, e.g. as SOAP or REST services in order to be independent from implementing in certain programming languages. But you could just as well define APIs in Java, just like the Java API is an API to the Java virtual machine.

Having an API does not imply you are following the SOA paradigm at all, but a SOA requires some API to implement it.

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon