..Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed.
..It is mainly used in Hibernate, RMI, JPA, EJB and JMS technologies.
Acheive Serialization:::
1.To persist data for future use.
2.To send data to a remote computer using such client/server Java technologies as RMI or socket programming.
3.To "flatten" an object into array of bytes in memory.
4.To exchange data between applets and servlets.
5.To store user session in Web applications.
No comments:
Post a Comment