Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] RMI and Dynamic Class loading
- From: anikomei@xxxxxxxxxxx (Sameer Gurung)
- Subject: [Advanced-java] RMI and Dynamic Class loading
- Date: Thu, 31 Jan 2002 14:23:48 +0530
Hi folks,
I was wondering if somebody can help me out....
I have a client program that sends a object to a remote machine. The remote
machine is supposed to then execute a method of the object.
class client {
Query q = new Query();
q.fillData("Sameer","25");
//get reference to remote Server abd store it in rs
rs.getDocs(q)
}
Query implements QueryInterface which in turn extends Serializable
Then on the server side the implementation class has a getDocs method which
look like this
{....
public MyData getDocs(QueryInterface q){
MyData md = q.parse();
return md;
}
}
MyData implements Serializable....
The error I get is
UnmarshalException ; nested Exception is
ClassNotFoundException ;
Well all the classes and the interface are in their proper places. Does
anyone know whats happening here. Any help will be appreciated
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
- Follow-Ups:
- [Advanced-java] RMI and Dynamic Class loading
- From: Guenther Sohler
- [Advanced-java] RMI and Dynamic Class loading
- From: Unmesh Kulkarni
- [Advanced-java] RMI and Dynamic Class loading
- Prev by Date: [Advanced-java] Thread synchronization question.
- Next by Date: [Advanced-java] RMI and Dynamic Class loading
- Previous by thread: [Advanced-java] Thread synchronization question.
- Next by thread: [Advanced-java] RMI and Dynamic Class loading
- Index(es):