Hi, I'm planning to use RMI for communication between Client and Server. In RMI we have to use Naming.lookup method to get object handle from the Object Registry. Naming.lookup requires machine name if remote object resides on different m/c. Do we need to assume that the examiner will test the application on a single machine for "network mode" and omit the name of the machine in Naming.lookup method ? Thanks
Hi Dilip, In my opinion...the specs clearly state that networking is to be bypassed and I interpret it as NO LOOKUP. You may instantiate the server object directly in the same jvm OR create a new class which acts as an adapter and calls data's methods directly and implements the same interface as the server. This will achieve the effect that you're looking for. Just my opinion though. I hope this helps. With warm regards Abhijeet
Normally trees don't drive trucks. Does this tiny ad have a license?