xml reader at server side

asked 2013-02-26 15:50:29 +0800

nrc gravatar image nrc

Hi all,

I'm starting my way in this framework and would like to know what the bes way to read xml files to memory in the server side.

Thank you all in advance,


delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-03-01 03:37:25 +0800

rickcr gravatar image rickcr
704 7

I don't really think this is a ZK question, but I like using JAXB.

link publish delete flag offensive edit

answered 2013-03-01 04:01:41 +0800

rdgrimes gravatar image rdgrimes
735 7

updated 2013-03-01 04:04:26 +0800

There are several options, but you really need to define better what you need to accomplish.

Do you need to validate the XML against an XSD?

Do you need to unmarshall the XML to Java entities?

How large are the XML documents you need to read? This may determine if you need streaming capability.

Do you need to handle XML document attachments?

Do you need to handle base64 encoded images within the XML document?

Once you have the answer to these questions, compare to available frameworks. I tend to choose the lightest framework that most efficiently handles my needs. Don't choose a framework because its the most robust if has a bunch of features you don't plan on ever using.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2013-02-26 15:50:29 +0800

Seen: 13 times

Last updated: Mar 01 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More