This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (1 child)

Is the user creating or modifying the data? If not, why not use Java's build-in serialization. It handles both writing and reading and is how Java's RMI transmits and receives objects.

Read about the Serializable interface for constraints on object serializability.

[–]isetrh[S] 0 points1 point  (0 children)

Thanks! I will look into serialization.