Posted By:
Anish_George
Posted On:
Sunday, September 7, 2003 10:29 AM
Hai; To execute my client program I have to store the Interface class which extends Remote Interface locally. Is it possible to download that class also dynamically.I am storing allthe classes in http://server:8080/RMI/Classes/ exept the MyClient.class Client Program Skelton class MyClient { static RemInterface remInterfaceObj; remInterfaceObj=(RemInterface)Naming.lookup ("rmi://server/fstRmiObj"); } Here I have to store RemInterface.class also locally along with MyClient.classeven if I had set rmi.server.codebase= http://localhost:8080/RMI/Classes in server
More>>
Hai;
To execute my client program I have to store the Interface class which extends Remote Interface locally.
Is it possible to download that class also dynamically.I am storing allthe classes in http://server:8080/RMI/Classes/ exept the MyClient.class
Client Program Skelton
class MyClient
{
static RemInterface remInterfaceObj;
remInterfaceObj=(RemInterface)Naming.lookup
("rmi://server/fstRmiObj");
}
Here I have to store RemInterface.class also locally along with MyClient.classeven if I had set rmi.server.codebase= http://localhost:8080/RMI/Classes in server
<<Less