Meaningless Drivel is fun!
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
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: 24193

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!