• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Instructions for the Examiner

 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After getting familiar with the RMI and reading the posts here, I've decided that I will not use dynamic downloading of classes by the server. That means that when I start the server, I do not need to specify the codebase. But it also means that the classpath needs to be set up *before* rmiregistry is started, so that the stubs are found. My question is, how reasonable is it to ask an examiner to do it? I mean, they might have the registry running already and my instructions will ask them to restart it?
Thanks,
Eugene kononov.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not try to start the RMIRegistry in your code, instead of at the command line. Then if your server is in an executable jar, then you won't have any classpath issues.
Do a search on RMIRegistry to find the code, or your handy dandy SDK API Documentation.
Mark
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much for your advise. It sounds simple and reasonable.
Eugene.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic