How do I assure a proper *call to* and *return from* the former remote method ? I believe that "Hashtable"s are Serializable. Do I have to make "MyClass" extend/implement the Serializable interface to accomplish a sucessful call and return ?
Every Java object moved from one place to another by RMI must be Serializable. You can verify that Hashtable implements Serializable by looking at the JavaDocs. Naturally all objects linked to by the Hashtable must also be Serializable or you will get a runtime exception. Bill
posted 15 years ago
Yes, thank you. I figured out that, not only did "Hashtable" and "MyClass" have to be serializable, but also, all the classes that "MyClass" depended on.