is there a Java-implementation of the DataSet-Class?

L

Lorenz Kahl

Hi there,

to me it seems like everything in .NET is based upon XML and web
services for the sake of interoperability. But does the use of XML also
automatically result in platform independent solutions?

What if I have a distributed application which uses the class DataSet to
represent data between the tiers, like it's proposed in the paper
'Designing Data Tier Components and Passing Data Through Tiers'
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/BOAGag.asp)?
As long as everything is .NET it's no problem, but what if I also got a
Java-client that wants to consume data. AFAIK there doesn't exist any
Java-implementation of the DataSet yet.

Can somebody please shed some light on this for me?

Thanks,
Lorenz
 
K

Kirk Graves

There is no way to directly pass a .Net DataSet to a Java based application
(at the memory level). However, it is possible to pass the XML
representation of a .Net DataSet to a Java based application when called
from a Web Service. A DataSet will automatically serialize itself as xml
when returned from a .Net implemented web service. It would then be up to
the Java application to decide what to do with that xml. An enterprising
Java developer might even develop a Java class that acts much like the .Net
DataSet class and feed the XML into that.

Kirk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top