Re: Why XML to comunicate Distributed Components?
- From: "andrew queisser" <andrew.queisser@xxxxxx>
- Date: Wed, 27 Feb 2008 11:30:46 -0800
"carofe" <carlosrf82@xxxxxxxxx> wrote in message
news:13b64c37-dbeb-4814-88bc-527d2d42beaf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Well, the purposing of this post is to find good reason about xml
technology as message format.
My question is: Why the communication between components should be
XML?
XML has some features as self-described, human-readable, etc..., and
there are many tools for validation and parsing.
Those features are very useful for Configuration files and
Descriptions file which could be edited by humans.
But, Are those features necessaries to communicate two components? Is
it necessary that communication between two component being human-
readable?
About self-described:
Self-described messages is useful for computing, I mean, validations,
infering, etc... But, Is it necessary the message in Plain Text
format?.
Which are the benefit of use XML to communicate components?
I think you already answered your question. XML has the benefits you mention
above but if the two components that exchange data don't require a
self-describing, human-readable and character based format why would you
incur the overhead of formatting and parsing the data? If you don't care
about human-readable you can go to binary XML or similar. If you don't care
about self-describing you can just send your data structures as raw bytes.
If you go to a binary format you have to keep endian and alignment issues in
mind, of course.
Andrew
.
- Follow-Ups:
- Re: Why XML to comunicate Distributed Components?
- From: carofe
- Re: Why XML to comunicate Distributed Components?
- References:
- Why XML to comunicate Distributed Components?
- From: carofe
- Why XML to comunicate Distributed Components?
- Prev by Date: Why XML to comunicate Distributed Components?
- Next by Date: Re: Why XML to comunicate Distributed Components?
- Previous by thread: Why XML to comunicate Distributed Components?
- Next by thread: Re: Why XML to comunicate Distributed Components?
- Index(es):
Relevant Pages
|