The document discusses Communication APIs, explaining their structure and functionality, which includes a specification for information exchange and a software interface. It categorizes APIs into three types: local APIs that provide OS or middleware services, web APIs that use HTTP for resource access, and program APIs that utilize remote procedure call technology. Examples of each type are provided, highlighting their applications in various software contexts.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views
4.COMMUNICATION APIS
The document discusses Communication APIs, explaining their structure and functionality, which includes a specification for information exchange and a software interface. It categorizes APIs into three types: local APIs that provide OS or middleware services, web APIs that use HTTP for resource access, and program APIs that utilize remote procedure call technology. Examples of each type are provided, highlighting their applications in various software contexts.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Communication API’s UNIT-V
5.3 COMMUNICATION APIS
REFER UNIT-I 1.3.2 Topics 5.3.1 How API Works: APIs are made up of two related elements. The first is a specification that describes how information is exchanged between programs, done in the form of a request for processing and is turn of the necessary data. The second is a software interface written to that specification and published in some way for use. The software that wants to access the features and capabilities of the API is said to call it, and the software that creates the API is said to publish it. 5.3.2 Types of APIs: API stake three basic forms: local, web-like and program-like. 5.3.2.1 Local APIs: Local APIs are the original form, from which the name came. They offer OS or middleware services to application programs. Microsoft's .NET APIs, the TAPI (Telephony API) for voice applications, and database access APIs are examples of the local API form. 5.3.2.2 Web APIs: Web APIs are designed to represent widely used resources like HTML pages and are accessed using a simple HTTP protocol. Any web URL activates a web API. Web APIs are often called REST (representational state transfer) or RESTful because the publisher of REST interfaces doesn't save any data internally between requests. As such, requests from many users can be in terming led as they would be on the internet. 5.3.2.3 Program APIs: Program APIs are based on remote procedure call (RPC) technology that makes a remote program component appear to be local to the rest of the software. Service oriented architecture (SOA)APIs, such as Microsoft's WS-series of APIs, are program APIs.