View Single Post
  #7 (permalink)  
Old 08-30-2008, 05:48 AM
fishtoprecords's Avatar
fishtoprecords fishtoprecords is offline
Senior Member
 
Join Date: Jun 2008
Posts: 520
fishtoprecords is on a distinguished road
Quote:
Originally Posted by ProjectKaiser View Post
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
Reply With Quote