Re: Exchanging information
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Fri, 27 Jul 2007 22:42:16 -0700
Haggis McMutton wrote:
I'm writing a distributed application which includes one server and many
clients that will be exchanging data.
I've made my own crude protocol that uses sockets and simply puts data on
single lines separated by new line characters.
I want to extend this to something a bit more advanced. I was thinking of
using XML but someone said I should use SOAP, but that uses HTTP which
seems to complicate things. Any ideas on the best way to do this?
Serializing objects over a socket should work much the same as sending lines with a newline at the end. Might be the easiest solution being the closest to a drop in replacement.
Query: why change it if it's working now?
Info on serializing objects:
http://www.deitel.com/articles/java_tutorials/20050923/IntroductionToObjectSerialization.html
Doing a really first class job with serialized objects can be tricky. Be sure to read up on it before hand.
.
- Follow-Ups:
- Re: Exchanging information
- From: Haggis McMutton
- Re: Exchanging information
- References:
- Exchanging information
- From: Haggis McMutton
- Exchanging information
- Prev by Date: Re: Pixelgrabber and Vectors, changes not happening.
- Next by Date: Re: Exchanging information
- Previous by thread: Exchanging information
- Next by thread: Re: Exchanging information
- Index(es):
Relevant Pages
|