RMI and unknown class

From: Koriun Margarian (koriun_at_ipia.sci.am)
Date: 01/30/04

  • Next message: Dale King: "Re: help reading C struct with java"
    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();


  • Next message: Dale King: "Re: help reading C struct with java"