i have got to make a component that will interact to server from our desktop client. in this process i will get Java Object Models that will be send to server.
I am planning to change that model to XML presentation first and then add to an HTTP request body. On the other side that request will analysed and from the request body XML files will be fetched and again changed to corresponding JDO. so This is my application.
Now i want to know what should be best to use for changing this JDO to XML presentation and vice versa.
If it is a desktop client, why do you have to use HTTP? Can't you make an RMI call? This will take care of the serialization automatically. You do not have to write a serializer/deserializer for every JDO. All you have to do is to implement a marker interface i.e. Serializable.