Sending a serialized object from Android to a servlet using HTTP client

前端 未结 3 488
死守一世寂寞
死守一世寂寞 2021-01-12 13:43

I have tried to create a android application that sends a serialzed object from the phone to a servlet the contents of the object is the input from the user which i will sto

3条回答
  •  不要未来只要你来
    2021-01-12 13:58

    I second the suggestion of XStream. It is a very nice and easy API. I don't like the Serialization formats XML or JSON though because they are text based. For a more compact serialization format, try ProtoBuf from Google.

提交回复
热议问题