Object Serialization is a simple way to store the state of an object into an byte stream. This stream can stored into a file. The reverse is called Object De-Serialization, which is restoring the object to its state by reading the serialized stream. Java provides in built implementation to serialize & de-serialize the object via ObjectOutputStream and ObjectInputStream classes. However for more control on how the object serializes custom Serializer's can be implemented.
↧
How to Serialize Object to File and Read Back?
↧