I am trying to perform simple RMI invocation, but I got failures continuously. I have tried multiple examples, from multiple books and multiple sites, and nothing.. The same has been thrown, when I try to run HelloServer (so when I try to register object in rmi naming registry).
I find out that there could be some bug in my java installation, but yet, I will provide to you here a simple test I have unsuccessfully performed.
1. create interface .
2.Create implementatio class;
3. create server simulation, for naming binding
4. the client of RMI service
5. compilation of classes :
6.compilation of Impl. using rmic :
7.starting registry by typing in command prompt located in the package folder
8. invocing server
I could bet, that this example I have tested a log time ago and I believe that it works as well. However, now it wont I know that there is a plenty of such a 'trivial' questions, but please consider my.
thanks in advance
Joined: Sep 26, 2008
Does anyone could inform to me, is those lines above valid parts of RMI?
I cannot yet, figure out what is the problem.