OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML Tuple Spaces (was: RE: [xml-dev] Web Service: SOAP or {HTML +Servlets}?)



Yes, you can put XML into a TSpace and get it out again. However, the
interaction with TSpaces is object-centric rather than document-centric, and
that is the distinction I am drawing. What you get back from a TSpace XML
query is a tuple tree. You navigate the resulting (DOM-analogous) tuple
object hierarchy to access the nodes of the result document. 

In a document-centric tuple spaces approach you aren't bound to an object
model. Predictating an object model, in all practicality, ties you to a
particular programming language and binary protocol. In contrast, the
document-centric tuple space approach allows you the choice of  processing
the document (or not) with the tools at your disposal, depending on your
language, environment, or liking. 

This and the loose-coupling, asynchronous, and 1-to-many interaction
qualities of tuple spaces makes the document-centric XML tuple spaces
approach an ideal foundation for distributed applications on the Internet.

-Patrick
 

Ken North wrote:
> > TSpaces (like CORBA, RMI, DCOM, JavaSpaces, Web Services) 
> is great behind
> > the firewall, but for internet based interactions a 
> document-centric tuple
> > spaces approach is more practical.
> 
> From the TSpaces FAQ:
> - How an XML document is saved?
> It is divided up at the server into a bunch of tuples 
> corresponding to the
> DOM tree.
> 
> - Can I query the TSpaces server for nodes in the DOM tree?
> Yes, you can. You will receive them back as tuples.
> 
> Why is this (treating a document as DOM nodes) not a 
> "document-centric tuple
> spaces approach"?>