[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML Tuple Spaces (was: RE: Web Service: SOAP or {HTML +Servle
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"?>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|