473,327 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Communicating delta's of an XML document from client to a server.

Hi,

In one of the projects that I am working on, have been sending xml
messages back n forth btw the client(swing) and the corba server. The
serialized objects(in xml representation) are rich complex types (with
nested objects within).Currently am using a homegrown java xml
serialization mechanism which I plan to replace with a databinding
framework like JAXB.
The server typically deserializes this xml to a java object and
applies some basic business validation and performs CRUD operations
via DAO layer.

I am finding that there is significant amt of overhead in sending
these complete xmlized object for insert and every subsequent update.
Question is how would one end up sending just xml delta(only the data
that has changed) on UPDATEs, instead of sending the complete
serialized object(xml).

This question was asked way back in 2002, suggestions were made to use
xpath, but wanted to followup and get more pointers.

Please also take a look at the original thread:
http://groups.google.com/group/micro...20be6324245084

Any inputs will be very helpful.

Thanks,
?n

Mar 7 '07 #1
1 1346
sh******@gmail.com wrote:
Question is how would one end up sending just xml delta(only the data
that has changed) on UPDATEs, instead of sending the complete
serialized object(xml).
There has been some good work done in diff/patch tools for XML; if you
websearch for "xml diff" you ought to find some of that.

Unfortunately IBM's early xmldiff tool on alphaWorks had a dependency on
other code which is no longer available, and so was shelved; I've
occasionally thought that one ought to be revived.
(Apologies for not including microsoft.public.xml in my replies, but
"public" appears to be a misnomer; it refuses to accept my posts.)

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Mar 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Egor Bolonev | last post by:
import os print os.listdir("\\\\delta\\public") outputs and import os print os.listdir("\\\\delta")
6
by: Don | last post by:
I'm trying to come up with a way within a client-side web page of uploading a couple files to a server-side PHP program without using a <form...>. I don't want to give up the page which happens...
1
by: Jimmy Chen | last post by:
Recently I've done a db2 backup and restore/recovery, but the process for recovering the database was different than what I thought to be. here is what I did: DB2 is set in online mode -...
1
by: cat | last post by:
Hi, One of our database delta backup keep failing for about 2 weeks. Is there anyone has the same experience, when DB2 do the delta backup, will it lock recovery history file and how you monitor...
2
by: KnotKnormal | last post by:
I would like to dynamically load a HTML page (or a Word document), which is embedded in a table when the user clicks on a hyperlink to go from HTML page one to HTML page two. For example, I would...
1
by: Franck | last post by:
Hello, I need to implement the following features: I need to create a document on whatever format word, pdf … A simple one; few field taken from a DB. This document should be printed on a client...
2
by: Chris | last post by:
Hi, I seem to be having some problems connecting to webservices. I'm running a C# client connected to a Java webservice using GLUE. The difference between the two request and response pairs...
5
by: caroalv | last post by:
Hiya, I hope I'm using the correct group here. I'm a newbie to C. I need a Java program and external program to send and receive messages to and from each other, but the only way I can do it is...
3
by: Russell Wallace | last post by:
Suppose a database server and client are separated by a low bandwidth link such as DSL, and the client repeatedly issues a query for, say, a current product list. Suppose the product list is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.