import businessLogic.HouseManager;
import businessLogic.LoginManager;
import businessLogic.OfferManager;
-import businessLogic.OwnerManager;
@SuppressWarnings("deprecation")
public class RMILauncher {
boolean bok = runBooking();
boolean hou = runHouse();
boolean off = runOffer();
- boolean own = runOwner();
boolean log = runLogin();
boolean acc = runAccount();
"\t House: "+hou+
"\t Login: "+log+
"\t Offer: "+off+
- "\t Owner: "+own+
"\t Account: "+acc);
}
}
- private static boolean runOwner() {
- try {
- Remote remoteOwner = new OwnerManager();
- String authService = "rmi://localhost:9999//OwM";
- Naming.rebind(authService, remoteOwner);
- return true;
- } catch (Exception e) {
- System.out.println(e.toString());
- return false;
- }
- }
+
}