PPT Slide
6. From Moscow With Stubs (cont’d)
catch (Exception e){
System.err.println
("Error: " + e.getMessage());
e.printStackTrace();
}
}//Main
}//DollClient
NOTE:
We only create
an instance
of the interface,
not the remote
implementation
NOTE:
Client must
set a security
manager as
well; a similar
policy must be
invoked
NOTE:
Remote
resolution
of stubs
requires
use of security
manager
Previous slide
Next slide
Back to first slide
View graphic version