Tomas T
Tomas T

Reputation: 449

Difference between protocol,middleware , web services and api?

These terms seem to be very similar which confuses me a lot.
So far I know:

Am I right?

Upvotes: 3

Views: 2641

Answers (1)

Rumado
Rumado

Reputation: 327

In simple terms,

Protocol can be considered as a law suit or common agreement between two or more parties (components) used for communication with each other. Most of the times protocol includes the steps and/or procedures that should used when communicating with each other.

API allows and defines how two applications can communicate with each other by using the methodologies defined by the service providing application. Compared to a protocol, API describes the programmatic ways to communicate in-between applications. Service calling application must properly adhere to the standards in order to get the required service.

Web services these are very similar to APIs. Notable thing with the web services is, developing a web service expects users to access it over the internet. Therefore web service can be considered as an online API.

Middleware allows to communicate with distributed application components located in several computers (Simply links the components located in various machines in order to get the full application capabilities). Middleware minimizes the developing effort by overcoming heterogeneous factors (OS, hardware, network equipment etc.). Middleware locates in between application (application components) and the OS.

Upvotes: 2

Related Questions