This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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: 24195

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]
It is sorta covered in the JavaRanch Style Guide.
subject: serialization process
It's not a secret anymore!