There are three exceptions in which serialization doesnot necessarily read and write to the stream. These areSerialization ignores static fields, because they are not part of auy particular state state.Base class fields are only hendled if the base class itself is serializable.Transient fields.
Yes it is possible to have control over serialization process. The class should implement Externalizable interface. This interface contains two methods namely readExternal and writeExternal. You should implement these methods and write the logic for customizing the serialization process.