quando tento executar o applet no cliente ocorre o seguinte erro=
“java.rmi.NotBoundException: Server”
gostaria de saber o que é ao certo o Server abaixo descrito=
Naming.rebind("//ip_do_servidor/Server",obj);
Segue abaixo meu codigo da class cliente=
public class ClientInterface extends UnicastRemoteObject implements RMI {
String contexto;
public ClientInterface()throws RemoteException{
super();
}
public static void main(String args[]) {
if(System.getSecurityManager() == null ){
System.setSecurityManager(new RMISecurityManager()); }
try {
ClientInterface obj = new ClientInterface();
System.out.println("Tentando ... espere....");
Naming.rebind("//ip_do_servidor/Server",obj);
System.out.println("ServerInterface bound in registry");}
catch(Exception e){
System.out.println("Server err: "+ e.getMessage());
e.printStackTrace();}
}