Results 1 to 2 of 2
- 03-14-2008, 03:20 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 5
- Rep Power
- 0
Which Java-XML library or technology is best for my needs?
Hi Group,
I am working on a desktop application which communicates with a server application over HTTP. On both the applications, Java object model is similar.
I want to use XML to transfer data between the 2 apps. Please tell me which JAVA-XML technology or libarary is best for my case. Since it is a desktop application, I am looking for some library with moderate footprint. Also it should be efficient as the amount of data contatined within a single object can be huge (due to big object model).
Someone suggested that we can also send serialized objects (Base64 encoded) on the wire and there is no need to use XML. Please suggest me how suitable this can be, if i dont use XML and send just a serialized object.
Cheers,
Nitin
- 03-15-2008, 07:34 AM #2
Since you are working with huge amount of data over the network and concerned about the footprint i think SAX will be better. You can harness the benefit of partial data available to you if possible.
If there is no use of partial data. You can go for just Java Serialization based solution as well. a word of caution, what if you decided to upgrade your application and your clients are not upgraded. Class cast exceptions !!
You might account for the amount of data needed to be transfered between the server and client (and comparing those two solutions in terms of bandwidth) as well before deciding.
But whichever easier is always there !!dont worry newbie, we got you covered.
Similar Threads
-
java.lang.UnsatisfiedLinkError: no parport in java.library.path
By Heather in forum NetBeansReplies: 3Last Post: 09-07-2009, 02:28 PM -
JMX Technology
By sureshjava in forum NetworkingReplies: 1Last Post: 01-29-2008, 05:53 AM -
Java Machine Learning Library 0.0.12
By JavaBean in forum Java SoftwareReplies: 0Last Post: 10-20-2007, 06:56 PM -
JAVA Architect Position - Robert Half Technology
By pegitha in forum Jobs OfferedReplies: 0Last Post: 05-18-2007, 09:40 PM -
Free eBooks- Java and other technology
By derrickD in forum Reviews / AdvertisingReplies: 0Last Post: 05-18-2007, 07:49 PM
Bookmarks