File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "serialization process" Watch "serialization process" New topic

serialization process

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 142
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

Joined: Jul 08, 2003
Posts: 24199

There are many classes that simply can't be serialized. For example,, representing a network connection,, 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:
subject: serialization process
It's not a secret anymore!