Michael,
This is a humble suggestion about the name of the remote service.
QUOTING YOUR WORDS.
"We would rather use a lookup service, or name-for-service translator, and relax our need to know these things at compile-time. Furthermore, a well-named lookup might do a better job of suggesting a service's uses. When we want a service, the argument goes, we usually know what capability we're looking for (like Processor), but we don't always know the exact implementation name it goes by (Workhorse)."
It's about implementing the service name as a
public static final String variable(say
SERVICE_NAME)inside the remote interface(service).As RMI requires the remote interface present on client side
lookup can rely on
service.SERVICE_NAME