Binary and non binary socketing Java
I heard there was binary communication I'm a beginner in Java. I use plain text. I'm from Java sun. Com tutorial So I want to know what are the benefits of binary socketing? Why should I use it? What resources can you suggest for binary communication?
Solution
If you have a specific reason, you can only use binary data directly through sockets - such as extreme performance If you have such a reason, you will know it, and using binary data directly through socket does not guarantee high performance
Java and libraries provide many abstractions to facilitate network communication while protecting programmers from low-level labor-intensive and error prone work:
> Remote Method Invocation > Web Services > UrlConnection > Object Serialization
Just a few examples