Serialization issue
Hi there,
I have a class A which has an instance of class B and it is not a transient. Class A is serializable and B is NOT. When I serialize class A it throws an exception "java.io.NotSerializableException". Assuming class B is third party where I don't have any control. In this senario what is the best solution to serialize class A? Or atleast how can I re-initialize object B while deserialization?
Any help greatly appreciated..
Thanks!

