NetBeans 5.5, Java 1.5
I have two packages:
packageAAA and
packageBBB
Inside packageAAA I have
Interface SomeInterface and
Class SomeInterfaceImpl.
Inside packageBBB I have a class with main. This class imports packageAAA.*, does
LocateRegistry.getRegistry()
and the following:
SomeInterface abc = new SomeInterfaceImpl();
Then there is rebind for abc in the registry.
So... now I'd like to run it: I fire up DOS prompt, change dir to the project dir and run
rmiregistry.
Then, go back to netbeans and launch my Project. Result: it hangs on
run:
and nothing more happens.
???
Notice: I put a simple out.println as the first line in method main. Well... it does NOT execute!!! Everything frozen!
Can someone help me pleaaase?