RMI and unknown class
From: Koriun Margarian (koriun_at_ipia.sci.am)
Date: 01/30/04
- Previous message: Matt Humphrey: "Re: Waiting for threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 18:14:36 +0400
HI all
There is RMI server RemoteServer with method receive(Agent agent)
and there is class HelloAgent class extended from Agent.
RemoteServer don't know about class HelloAgent. So when I call
remote.receive(new HelloAgent())
it throws RemoteException, ClassNotFound. All are right.
how can I transfer class HelloAgent ?? Any idea ??
Also there is class MyClassLoader which can load any class from network
CodeBase Server.
But it seems Exception ocured before calling method receive();
- Previous message: Matt Humphrey: "Re: Waiting for threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]