This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Better Way to parse xml at browser side or server side

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I require Advice on Parsing xml file which contains about 30000 data just want better approach to parse the xml.. which is better way to parse at server side or at client side.. Suppose i am using json then which way is better to parse at client side or server side.

Thank you in Advance for the support.
Regards
Jatan

 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't understand the question. I am going to assume your are using JSON/XML purely for data exchange. If this is the case than JSON is definitely the better choice. It must be marshalled and unmarshalled at both ends assuming you want to do anything with the data, which is why your question does not make sense. If I am some java script running in a browser and I want to send some data to the server I must marshall that data into JSON and post it to the server. Now on the server side I must take the JSON message I received and unmarshall it into a java object and do something with the data that was sent. I then optionally may send a response which will have to be marshalled into JSON and sent to the client where once again it must be unmarshalled. If you have a different use case you are going to have to be more clear on what you are trying to accomplish.
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic