• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java In Genearal

 
krishnamoorthy kitcha
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While using the serialation , we add the keyword implemenst serializable

in the Class,


After getting from Remote server or other JVM ,


We can not deserialize the object, How can it acts ?




public class serialtest implements Serializable{

public String test ;
public String testname;

seritaltest(){}

}



Sorry for my ignorance.
 
Henry Wong
author
Marshal
Pie
Posts: 21515
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for my ignorance.


This is the threads forum. And from your topic "Java In General", you may already know that serialization has little to do with Threads.

Anyway, moving this to the Java in General, Intermediate forum.

Henry
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens when you try to deserialise the object. Do you get any error messages, stack traces, etc ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic