Re: Why XML to comunicate Distributed Components?



On 2008-02-27 11:17:44 -0600, carofe <carlosrf82@xxxxxxxxx> said:

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?

The primary advantage to using XML is that it is a standard. You can find tools that support it, and vendors that can communicate with it. This is a biggie, and probably overrides most of the negatives.

In nearly every other way XML is a pretty poor mechanism for serializing data. It's bloated, redundant, overspecified, and hard to read.

There are better formats out there. Yaml, JSon, etc. And for transporting data between machines a binary representation like x.409 would be better.

--
Robert C. Martin (Uncle Bob)  | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc.            | blog:  www.butunclebob.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  |



.



Relevant Pages

  • Re: Why XML to comunicate Distributed Components?
    ... technology as message format. ... Why the communication between components should be ... Which are the benefit of use XML to communicate components? ... case with the real needs of SOAP message format ...
    (comp.object)
  • Re: Why XML to comunicate Distributed Components?
    ... technology as message format. ... Why the communication between components should be ... XML is unreadable, at least by normal human beings. ... Validation is not a proper argument here, because it is not the semantics ...
    (comp.object)
  • Why XML to comunicate Distributed Components?
    ... the purposing of this post is to find good reason about xml ... technology as message format. ... Why the communication between components should be ... Are those features necessaries to communicate two components? ...
    (comp.object)
  • Re: Why XML to comunicate Distributed Components?
    ... Why the communication between components should be ... Are those features necessaries to communicate two components? ... Which are the benefit of use XML to communicate components? ... Mainly because of its inertness to specific processing technology, ...
    (comp.object)
  • Re: Why XML to comunicate Distributed Components?
    ... Why the communication between components should be ... The protocol has to be simple enough to recognize by a small ... Validation is not a proper argument here, because it is not the semantics ... which is validated, but the XML itself. ...
    (comp.object)