I have a question on Serialization. Reference JDK 1.4
Java documentation on ObjectInputStream and ObjectOutputStream.
You can create your own trusted streams by extending ObjectInputStream and ObjectOutputStream. And subsitute a non-serializable object with the serializable one, before writing that to output stream. On the reader end you can resolve, the object and return another to the user. Is this the correct sequence of calls ???
serialization : replaceObject -> writeObject.
deserialization : resolveObject -> readObject. Or resolveobject is called within readObject
Any help will be greatly appreciated.
Thanks
Nishant