Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
shettync@gmail.com - 07 Mar 2007 03:55 GMT
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/microsoft.public.xml/browse_thread/thread/1e2c47c
40836201c/020be63242450845?lnk=gst&q=send+xml+delta+to+server&rnum=1&hl=en#020be
6324245084


Any inputs will be very helpful.

Thanks,
?n
Joe Kesselman - 07 Mar 2007 13:01 GMT
> 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.)

Signature

() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.