Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

unable to invoke RMI-help

 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings.
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

9.invocing client

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
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone could inform to me, is those lines above valid parts of RMI?
I cannot yet, figure out what is the problem.
Thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic