I agree, but it would still require some programming muscle to combine the
data from different resources into an XML document that is meaningful to the
application(s) that will use the data.  An XML representation of a ResultSet
does not automatically alleviate that requirement.  Additionally, if you
agree that relational/OO database vendors are hard at work at exposing data
as XML (ex DB2, Oracle, MS SQL2000) then an XML representation of a
ResultSet hasn't bought you anything.  As for native XML databases, you
don't need a ResultSet conversion to XML because the data is already in XML
format.

My argument _specifically_ proposes that an XML mapping to a JDBC ResultSet
doesn't satisfy a real need (IMHO) and _generally_ touches on the broader
issue of blanket application of XML across the computing spectrum (hammers
and nails).

Cheers :-)

Dane Foster
Equity Technology Group, Inc
http://www.equitytg.com.
954.360.9800
----- Original Message -----
From: "bob mcwhirter" <[EMAIL PROTECTED]>
To: "Dane Foster" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 11:58 AM
Subject: Re: [dom4j-user] using JDBC results with dom4j


On Fri, 26 Oct 2001, Dane Foster wrote:

> "A few people have been thinking about mapping a JDBC ResultSet to an XML
> representation lately, "
> Why?
>
>
> IMHO XML has grown into one heck of a hammer and you know what happens
when
> the only tool you have is a hammer?

One use I see, which I think is valid, is for aggregation.

Pull data from several sources (XML files, XML database, JDBC connection),
and if they are all XML document fragments, it's fairly easy to glue them
together and present them to the client in a unifying whole.

Used with XInclude, I could see it being a fairly powerful idiom
for aggregation.

-bob


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user



_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to