Communication through simple sockets

It is possible to transfer information between applications that are written in different languages using sockets. The socket concept is not unique to Java and has been implemented in many languages. As sockets work at the TCP/IP level, they can communicate without much effort.

The primary interoperability consideration concerns the data that is transmitted. Incompatibilities can occur when the internal representation of data differs significantly between two different languages. This may be due to the use of big endian versus little endian in how a data type is represented internally, and whether a particular data type even exists in another language. For example, in C there is no distinct Boolean data type. ...

Get Learning Network Programming with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.