Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final Registry reg = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);
- final Remote serviceToExport = new PhoneManagerImpl();
- final Remote service = UnicastRemoteObject.exportObject(serviceToExport, 0);
- reg.bind("PhoneManager", service);
Add Comment
Please, Sign In to add comment