Forum: Serialization

Serialization and Externalization Questions.

19-12-2017 06:43:03 AM
User Image
SourabJain

Newbie

Joined: Jun 28, 2017

Points: 100

Threads: 9

Posts: 14

How can I serialised of partial object?

My object has 10 states but the client is required only 2 states and t... More

Last edited by SourabJain: 20-12-2017 02:43:15 PM
Replies: 2 | Views: 169
For more information please click below link.
20-12-2017 02:43:15 PM
17-9-2017 12:20:56 PM
User Image
chowdaka5

Newbie

Joined: Jun 28, 2017

Points: 145

Threads: 20

Posts: 96

how can i do

How can I restrict that no one can serialize my Singleton class object... More

Last edited by chowdaka5: 20-12-2017 01:34:53 PM
Replies: 2 | Views: 396
You have to implement your class from serializable interface and you have to write  a...
19-12-2017 06:13:04 AM
29-11-2017 09:21:05 AM
User Image
aditya

Newbie

Joined: Jun 28, 2017

Points: 105

Threads: 4

Posts: 11

Serialize/Deserialize of enum

How to serialize an enum? i read the specification but can't unders... More

Last edited by aditya: 29-11-2017 09:30:00 AM
Replies: 0 | Views: 102


No Posts Available
28-11-2017 05:45:05 PM
User Image
KishanJ

Newbie

Joined: Jul 6, 2017

Points: 110

Threads: 6

Posts: 24

Difference between writeobject() vs writeExternal() and readObject() and readExternal()

When there is two magical methods readObject() and writeObject() are a... More

Last edited by KishanJ: 28-11-2017 06:00:00 PM
Replies: 0 | Views: 86


No Posts Available
27-11-2017 05:27:36 PM
User Image
Shivaay

Newbie

Joined: Jul 5, 2017

Points: 160

Threads: 16

Posts: 84

How to Serialize an object having non serializable object as attribute?

I have 2 classes... Course and Subject, Course implements from Seriali... More

Last edited by Shivaay: 28-11-2017 10:55:35 AM
Replies: 1 | Views: 99
declare subject as static variable
28-11-2017 10:55:35 AM
27-11-2017 10:24:39 AM
User Image
aditya

Newbie

Joined: Jun 28, 2017

Points: 105

Threads: 4

Posts: 11

why constructor does not involve in deserialization?

1.why constructor does not involve in deserialization? ... More

Last edited by aditya: 27-11-2017 10:30:00 AM
Replies: 0 | Views: 166


No Posts Available
21-9-2017 01:20:31 PM
User Image
Amritk

Newbie

Joined: May 8, 2017

Points: 220

Threads: 49

Posts: 198

Confused with SUID calculated during serialization of an object....

I was reading serialization and confused with how SUID calculated duri... More

Last edited by Amritk: 25-9-2017 05:41:43 AM
Replies: 1 | Views: 193
SUID is attached during the serialization of an object, if we don't specity the SUID then ...
25-9-2017 05:41:43 AM