I am trying to do some testing using RMI.
I have a .jar file having the classes with methods I need to call. On my netbeans projects I have a class TestClient which has to connect to ShareBroker which is my Remote interface. My problem is how to set the correct address for java.rmi.server.codebase and which address I need to have in my TestClient in order to lookup for ShareBrooker.
I have tried a number of different addresses and combinations but couldn't get this to work. For this test I need to have the codebase set on a local directory.