File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes question  on  serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "question  on  serialization" Watch "question  on  serialization" New topic
Author

question on serialization

caushik conjetty sekhar
Greenhorn

Joined: Mar 03, 2009
Posts: 4
when to use serialization in a program or an application?
I have read concepts in serialization but when to use in a real time scenario?
SbhargavS Surimenu
Greenhorn

Joined: Mar 09, 2010
Posts: 4
Serialization is the process of persisting an object state in a flat file or sending through network.
Mean converting the java object into bits and bytes, because hard disks or networks understands only these bits and bytes, cannot understand the data in terms of objects

Real time scenarios

  • Storing the object state in a disk. Object state means instance variable values at particular time.
  • Sending the object through network (One JVM to another JVM)
  • Storing the object in database (In Hibernate we can directly send object 'save()' method to insert the values in data base).


  • Regards,
    BhargavS
    priya uma
    Greenhorn

    Joined: Aug 10, 2012
    Posts: 4
    hi thanks for your information
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: question on serialization
     
    Similar Threads
    Serializable interface
    Serialization concept
    what is the use of Serialization in java?
    writing hashtable to a file
    Serialization