Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-14-2008, 03:20 PM
Member
 
Join Date: Mar 2008
Posts: 5
nitingupta183 is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-15-2008, 07:34 AM
roots's Avatar
Moderator
 
Join Date: Jan 2008
Location: Dallas
Posts: 263
roots is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JMX Technology sureshjava Networking 1 01-29-2008 05:53 AM
Java Machine Learning Library 0.0.12 JavaBean Java Announcements 0 10-20-2007 06:56 PM
java.lang.UnsatisfiedLinkError: no parport in java.library.path Heather NetBeans 2 06-29-2007 03:45 PM
JAVA Architect Position - Robert Half Technology pegitha Jobs Offered 0 05-18-2007 09:40 PM
Free eBooks- Java and other technology derrickD Reviews / Advertising 0 05-18-2007 07:49 PM


All times are GMT +3. The time now is 01:32 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org