L4: Enforced ModularityMIT OpenCourseWarehttp://ocw.mit.edu 6.033 Computer System Engineering Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.L4: Enforced ModularityRobert Morris6.033 Computer System Engineeringpublic interface BidInterface extends Remote {public String bid(String) throws RemoteException;}public static void main (String[] argv) {try {BidInterface srvr = (BidInterface)Naming.lookup("//xxx.ebay.com/Bid");winning = srvr.bid("123");System.out.println(winning);} catch (Exception e) {System.out.println ("BidClient exception: " +
View Full Document