File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Re: Serializable Class" Watch "Re: Serializable Class" New topic
Author

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?
Regards,
Joe


Joe
Dirk Schreckmann
Sheriff

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: http://aspose.com/file-tools
 
subject: Re: Serializable Class
 
Similar Threads
Exchanging data between servlets and Session Beans
what are the classes that supports a class when it is serialized?
RE: Receiveing ObjectMessage in JMS
Why both GenericServlet and HttpServlet implements Serializable interface ?
Singleton class