Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2007

Tip: Looking for answers? Try searching our database.

Non Serializable

Thread view: 
andrewzzz - 11 Jan 2007 11:45 GMT
What is a a non serializable object and class and how do I recognize
them?
Thank you guys!
Andrew Thompson - 11 Jan 2007 12:00 GMT
> What is a a non serializable object and class

One that does not implement 'Serializable'

>.. and how do I recognize them?

Perhaps *you* should finish this homework*.

* /google the rest/do some legwork..

Andrew T.
Daniel Dyer - 11 Jan 2007 12:11 GMT
>> What is a a non serializable object and class
>
> One that does not implement 'Serializable'

A class can implement Serializable and still not be serializable.  This is  
the case if it has any non-Serializable, non-transient instance fields.

Dan.

Signature

Daniel Dyer
http://www.uncommons.org

Andrew Thompson - 11 Jan 2007 12:17 GMT
> >> What is a a non serializable object and class
> >
> > One that does not implement 'Serializable'
>
> A ...

'do some legwork.. '

Andrew T.
ck - 11 Jan 2007 12:07 GMT
> What is a a non serializable object and class and how do I recognize
> them?
> Thank you guys!

Any class that does not implement Serializable interface (implicitly or
explicitly) would be non serializable class, and its object would non
serializable objects. Classes that do not implement this interface will
not have any of their state serialized or deserialized.

Cheers,
Ck
http://www.gfour.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.