xml data transfer

hi guyz

i want to have the program running in the server which retrives the data from the server database, creates the xml document from the resultset and sends it to the client program. the client program reads the document and writes it to the client database. now wat i need to do is creating the xml document in the server and sends it to the client. guyz, do u have any idea how can i do that. creating the DOM document and passing is okay but it consumes the time and memory. so is it possible to the client to get the DOM document and the SAX parser to parse that object directly?

thanx

[612 byte] By [sabbyna] at [2007-11-27 8:23:06]
# 1
Send it the original XML text? There's no need for the server to parse the document at all.
ejpa at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...
# 2
if we send the text then how to parse that text in the client side?
sabbyna at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...
# 3
You already answered that yourself. SAX or DOM.
ejpa at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...
# 4
thanx ejp for ur gr8 help.
sabbyna at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...
# 5
I did nothing actually.
ejpa at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...
# 6
well i've become a gr8 fan of yours. i checked your website. r u esmond pitt? anyway thanx.
sabbyna at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...
# 7
Yep. But all I did was a little clear thinking on your problem. Not much.
ejpa at 2007-7-12 20:11:56 > top of Java-index,Core,Core APIs...