1 Reply Latest reply: Mar 1, 2007 6:44 PM by EJP RSS

    Serialization and Class Integration

    807606
      I have a class that I want to serialize in order to save it to a file. In terms of OO design what is the best way to go about integrating serialization into my classes?

      I was going to have two static methods that would read/write an object of the class from/to a stream, where both the stream and object are paramters to the method. Would it make sense to implement it this way or would it be considered messy?

      Thanks!