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

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>