Language - Binding (IPC)

Card Puncher Data Processing

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.

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.

RPC implementation ???

Implementation:

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:

Rest

REST calls from client to server.

Example:

Protocol

Net protocol through socket.

See:

Documentation / Reference





Discover More
Pointer
Data Type - Pointer (Locator)

A pointer is the address location at which a value is stored. The pointer is a value that refers directly to (or “points to”) another value stored elsewhere in the computer memory using its address....
Card Puncher Data Processing
Library - Thrift

Thrift is a language binder library. (facebook)



Share this page:
Follow us:
Task Runner