Effective Java: Consider Serialization Proxies Instead of Serialized Instances
Throughout all the recent items as we have discussed Java serialization, we have been discussing many of the challenges that come along with it. While on the surface it looks simple to implement, in reality, it is far from it. Due to the effectively hidden constructor provided by the serialization framework Serializable
code is open to many potential issues…