File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help me to run RMI??

 
ali rafiq
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have HelloImpl is the Server main file and
HelloClient is the client main file have there r five java file ... with one interface to server file HelloImpl..
they r not any package ..so i have compile it with javac .. and make a stud with rmic...
now its a time two running the file ...
i have opened command prompt i command rmiregistry..
its doesnt stop ...else press "Ctrl + c"
now i have to open another command promt to run HelloServer..
and anothere for HelloClient... or what should i have to do.. i have learnt must of the link u told about me to rmi.. but they r using it packages its is confusing me ..
or classpath what should be
set classpath=e:/ali/rmi/ here is my rmi file
set classpath=e:/jdk/bin/ here is my jdk

im using first time RMI???
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the RMI forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic