Originally Posted by
ProjectKaiser
Why binary ? JSON produces human-readable text stream.
All it is doing is seralizing it for you. If you are sending an int or float, you are sending binary. As you say, JSON can marshal it for you.
But I believe its a weak design to send binary when you can simply send text messages. You can send text with two or three lines of simple Java, no libraries, no API, nothing fancy. To me, this is much better.
YMMV