Re: Serialization Issue



mearvk wrote:
public class SerializableArea extends Area implements Serializable
{
}

You need to add readObject() and writeObject() methods to this class that will read and write the superclass's attributes. See the Serialization Specification.
.



Relevant Pages

  • Serialization: readObject() and self method calls?
    ... When is it acceptable for readObject and writeObject to call other ... The following code is from a version of GregorianCalendar in IBM's ... I would guess that readObject and writeObject should limit themselves ...
    (comp.lang.java.developer)
  • Serialization: readObject() and self method calls?
    ... When is it acceptable for readObject and writeObject to call other ... The following code is from a version of GregorianCalendar in IBM's ... I would guess that readObject and writeObject should limit themselves ...
    (comp.lang.java.programmer)
  • Re: Overriding existing Serializeable writeObject ?
    ... >problem I found out is that my implementation of writeObject and ... >readObject() for my rendering frame is completely ignored!! ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)
  • writeObject and readObject problem
    ... i very blur with the use of writeObject and readObject, ... i try to send the button pressed event, the writeObject is ok but the ... At server, i need do a function to forward the object ...
    (comp.lang.java.programmer)
  • ClassNotFoundException reading object from ObjectInputStream
    ... I'm learning how to serialize objects. ... writeObject an object to it. ... readObject the object from it. ...
    (comp.lang.java)