[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of XML ?
- From: firstname.lastname@example.org
- To: email@example.com
- Date: Wed, 01 Aug 2001 10:48:29 -0400
There are some of added benefits if you consider a broader scenario.
What if you needed to work with another partner who wasn't using the Java
platform? There are XML processors implemented in many languages. What if
you needed to work with other partners who already used different object
models? Could you easily transform them, using an industry standard
mechansim? XML data can be trasnformed using an XSLT implementation (in any
language that suits you). What if you need to transfer theses objects to
other partners over FTP/SMTP/HTTP? You can do so with XML data instead of
requiring an ORB or RMI support.
Michael A. Rossi
Computer Sciences Corporation
<firstname.lastname@example.org To: email@example.com
Subject: Use of XML ?
08/01/01 09:27 AM
I'm involved in a project to exchange data between two seperate
databases ...... and, in an attempt to use XML for data exchange we
developed a schema, and parsed the data into XML before transporting it
over to the receiving system - which in turn 'deparsed' the data into
its own format.
Whilst we were developing the system we came to the startling
realisation that everything we were doing via XML could actually be done
by simply making each side aware of the 'class' (using Java) of the
object that the data is read into - in the same way that both sides
would need to be aware of the schema. So rather than transporting the
XML doc we could just send that object.
We know we must be missing some fundamental point here - but if someone
could just help by explaining why XML is so important as a data exchange
format it would be very appreciated