I am writing a client-server java program. It will read XML data files on the user's computer, then send the data to the server.
It seems I could either:
Have the client read the XML files, bind it to java objects and then send the objects to the server
Have the client read the XML files, send the XML to the server and have the server bind the XML to java objects
Which is usually done? why?
The choices for XML data binding (reading XML from a file and putting that data in java objects) appear to be JAXP, Castor, and Zeus.
What are the strengths and weaknesses of each? Why would I choose one over the other?