Well... you specified that
behaviour by your self:
private void
writeObject(java.io.ObjectOutputStream out)
throws IOException {}
private void readObject(java.io.ObjectInputStream in)
throws IOException, ClassNotFoundException {}
Objects are serialized to be passed through RMI. If you have an empty implementation of the writeObject(..) and readObject(...) and you have only implicitly created default constructor, you cannot want anything else from JVM. Either remove these methods, or implement them correctly.
throws IOException {}
private void readObject(java.io.ObjectInputStream in)
throws IOException, ClassNotFoundException {}
Objects are serialized to be passed through RMI. If you have an empty implementation of the writeObject(..) and readObject(...) and you have only implicitly created default constructor, you cannot want anything else from JVM. Either remove these methods, or implement them correctly.
Regards,
Roman
