Summary
In this chapter, we explored many of the factors that impact network interoperability. At a low-level, the byte order becomes important. We learned that systems either use a big endian or a little endian byte order. The order can be determined and controlled by Java applications. Network communication normally uses big endian when transferring data.
If we need to communicate with other languages, we found that JVM-based languages are easier to work with because they share the same byte code base. If we need to work with other languages, then JNI is commonly used.
A socket is not a Java-unique concept. It normally is used in a TCP/IP environment, which implies that a socket that is written in one language can easily communicate with a socket ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access