Protocol to expose services to process both on same machine or remote

by Marco Stramezzi   Last Updated July 17, 2017 07:05 AM

I am developing a server that exposes multiple services to other processes (they could be both servers or hmi clients): those could be hosted on the same machine or not and they could be written in multiple languages (java, c++).

I would like an advice to choose the better protocol (or protocols) to expose the services:

  • CORBA could be the best choice but it seems to me too complex (it needs the framework, IDLs, class generation..)
  • SOAP has too much overhead for reasonable same machine inter process communication
  • REST could be a good tradeoff in terms of complexity, overhead and usability in both conditions

Is my analysis correct? Should I search for other protocols (especially for inter process communication on same machine)?

Tags : rest protocol soap

Related Questions

What is the present-day significance of SOAP

Updated November 22, 2016 08:02 AM

How do I convince my boss to use REST over SOAP?

Updated June 27, 2015 17:02 PM