[JDEV] XML stream parsing in Java

Thomas Charron tcharron at ductape.net
Thu Sep 30 13:02:22 CDT 1999


Quoting Bill Ataras <billa at efax.com>:
> This thing can bounce back and forth all day. I just wanted to mention that
> basic extensible binnary protocols are possible and have been proven over
> decades to work with incredible interconnectivity between diverse
> manufacturers and over widely varying network qualities.

  Possible, sure.  Many networks DO use binary data streams, but we really 
don't have a reason to do so.  We could also argue to the cows come home to use 
IRC's text based protocol.  Both binary and ASCII protocol streams can do the 
same things.  Heck, we could come up with a binary XML protocol if we wanted 
to.  We're looking for something that we can simply extend to deal with a 
variety of data.  I may be transfering log files, pictures of my wife, sound 
files, or a cell phone call.  We can allow the servers to support ALL of this 
simply by allowing it to route XML packets.  If you want to validate, simply 
add it to the DTD.  That's it.  The parser suddenly 'knows'.  No need to extend 
the code to support the changes, just rely on the client to know what the heck 
to do with it.  (Or it our case, the transport OR the client).

--- 
Thomas Charron
<< Wanted: One decent sig >>
<< Preferably litle used  >>
<< and stored in garage.  ?>>




More information about the JDev mailing list