File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
Joined: Aug 01, 2006
Jan 09, 2007 07:44:00
I have a class in which some methods are to be serialized and I don't want to serialze some of them. So what should I do.
As far as I know TRANSIENT is for varialbles only. But I do not know, by making a methods STATIC We can stop it from being serialized.
Joined: Dec 13, 2006
Jan 09, 2007 07:47:00
methods are *never* serialized - the state of a object is preserved by saving the fields and their values.
I agree. Here's the link:
ActionForm is serialized
Size of serialized classes
Serialszing method of superclass which is non serilizable
How the Marker Interfaces provides the functionality to its object implementation?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014