aspose file tools*
The moose likes Beginning Java and the fly likes serialization process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "serialization process" Watch "serialization process" New topic
Author

serialization process

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
Hi...
why Java soft peoples (java creators) could not make serialization process ( by default)to all classes in Java API?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

There are many classes that simply can't be serialized. For example, java.net.Socket, representing a network connection, java.io.FileInputStream, representing an open file, or in general, any class that is backed by real operating-system resources. There's no way to automatically get those resources back when deserializing, so there's no way to effectively serialize.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: serialization process