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.
Articles Related
Method
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.
Implementation:
- wiki/Protocol_Buffers (Google) Go Tutorial
- Microsoft Bond protocols
See also which formats for cross-language serialization of data using a schema do you prefer?
Java
- Java CPP: native C++, jni under the hood
- JavaFX: Javascript
- Java Native Interface (JNI)
Java from:
- Python : See Python - Java
Rest
REST calls from client to server.
Example:
Protocol
Net protocol through socket.
See: