Results 1 to 2 of 2
  1. #1
    nitingupta183 is offline Member
    Join Date
    Mar 2008
    Rep Power

    Default 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.


  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Rep Power


    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

  1. Replies: 3
    Last Post: 09-07-2009, 02:28 PM
  2. JMX Technology
    By sureshjava in forum Networking
    Replies: 1
    Last Post: 01-29-2008, 05:53 AM
  3. Java Machine Learning Library 0.0.12
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-20-2007, 06:56 PM
  4. JAVA Architect Position - Robert Half Technology
    By pegitha in forum Jobs Offered
    Replies: 0
    Last Post: 05-18-2007, 09:40 PM
  5. Free eBooks- Java and other technology
    By derrickD in forum Reviews / Advertising
    Replies: 0
    Last Post: 05-18-2007, 07:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts