Has anyone advice how i should move xml data (max size about 25kB) between application layers? These are currently located on the same machine in the same JVM, but could be moved to different machine in a later proces if the application is getting more users.
Shoud i pass these xml between (possible remote) layers as:
org.w3c.dom.Document
String
javax.xml.transform.dom.DOMSource
Or something else?
What is better for performance and scalability reasons?
TIA & regards
Henk Meulekamp
-
passing xml as Document or String or Source between layers&jvm (1 messages)
- Posted by: Henk J Meulekamp
- Posted on: March 20 2003 11:20 EST
Threaded Messages (1)
- passing xml as Document or String or Source between layers&jvm by Rob Misek on March 20 2003 12:31 EST
-
passing xml as Document or String or Source between layers&jvm[ Go to top ]
- Posted by: Rob Misek
- Posted on: March 20 2003 12:31 EST
- in response to Henk J Meulekamp
Hi Henk,
If you are concerned with performance and scalability I would point you toward Tangosol's Coherence product. Coherence is a clustered caching/data management solution. It can be leveraged to share data (including XML) synchronously and coherently across multiple applications, clusters or JVMs.
Later,
Rob Misek
http://www.tangosol.com
Coherence: Easily share live data across a cluster!