This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Re: Serializable Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Re: Serializable Class" Watch "Re: Serializable Class" New topic

Re: Serializable Class

Joe Cheung
Ranch Hand

Joined: Oct 18, 2002
Posts: 104
Dear all,
What is the use of Serializable? Under what situation does a class need to extend Serializable?

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
The manual, or manuals, that David refers to might include the Object Serialization secion of Sun's Java Tutorial, and the documentation for the interface Serializable.
From these, you might notice that objects are sometimes serialized in order to save them (or their state) to a file, or to transmit them from one JVM to another (perhaps over the internet).
[ May 09, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Re: Serializable Class
Similar Threads
Why both GenericServlet and HttpServlet implements Serializable interface ?
Exchanging data between servlets and Session Beans
RE: Receiveing ObjectMessage in JMS
what are the classes that supports a class when it is serialized?
Singleton class