This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java In Genearal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java In Genearal" Watch "Java In Genearal" New topic
Author

Java In Genearal

krishnamoorthy kitcha
Ranch Hand

Joined: Feb 04, 2006
Posts: 96
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
Sheriff

Joined: Sep 28, 2004
Posts: 18546
    
  40

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


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3432
    
  12
What happens when you try to deserialise the object. Do you get any error messages, stack traces, etc ?


Joanne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java In Genearal
 
Similar Threads
Is String[ ] Serializabel?
Serializable interface.
About Runnable and Serializable
Custom Object Serializable via Session Bean
Singleton class