Need help! In my approach, Client extends Data implements Serializable, I met a problem in RMI like this: ...... java.rmi.unmarshalException:error unmarshalling return; nested exception is: java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: java.io.RandomAccessFile ......
I am also getting same error. instead of extending the Data class i am directly using the Data class in DataClient class. anyone knows what is wrong in our approach? joey
There's no need to be that way just because you don't understand or agree with their approach. I don't quite understand either, though. Why do you implement Serializable if you are using RMI? I don't believe that you need to do this. Perhaps this is part of your problem. With Respect, Matt