Hi all,
What is object serialization? when we implement serializable interface?
Printable View
Hi all,
What is object serialization? when we implement serializable interface?
Serilization is the process of writing the state of the object to a byte stream.
This is usefull when you want to save the state of your program in a persistence storage area.
Serializable :
Serializable is an interface which extends Serializable interface and sends data into streams in compressed format.
object serialization means storing states of an object in a persistant media like file etc
When you want ur object to be passed over network connection, you need to make that class serializable.
object serialization means storing the state of an object in a permanent storage area,for ex
a file.
Serialization is a process of writing an object to a byte Stream to a storage device.
Its importance is realized in an enviroment where client- server or distributed communication is required ex web based programs. There it is required that the object have to be send from client to server thus to avoid errors to creep in. Objects are serialized and hence they can be send anywhere.
hi,
Operating system is only known (Byte,character Stream).
when we come across situation like pass Object Over Network,
O/s can't Understand Object. that's why we convert object into byte....
using Serializaton interface...