Language - Binding (IPC)

> Code - (Programming|Computer) Language

1 - About

Binding / Talking method between language.

Generally, service communication uses a REST approach with HTTP and TCP protocols and XML or JSON as the serialization format. From an interface perspective, it is about embracing the web design approach. But nothing stops you from using binary protocols or your own data formats.

Advertising

3 - Method

3.1 - RPC with Interface description language

A software developer defines:

  • data structures (called messages)
  • and services

in a description file following the grammar of an interface description language.

Source code is generated from that description for generating or parsing a stream of bytes that represents the structured data.

RPC implementation ???

Implementation:

See also which formats for cross-language serialization of data using a schema do you prefer?

3.2 - Java

  • Java CPP: native C++, jni under the hood
  • JavaFX: Javascript
  • Java Native Interface (JNI)

Java from:

Advertising

3.3 - Rest

3.4 - Protocol

Net protocol through socket.

See:

4 - Documentation / Reference