File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Starting / stopping the RMI server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Starting / stopping the RMI server" Watch "Starting / stopping the RMI server" New topic

Starting / stopping the RMI server

Andrew Hanger

Joined: Jul 15, 2002
Posts: 8
Hi, all.
A couple more thoughts to share/discuss.
1. I assume that command-line way (no GUI) of starting RMI server is appropriate. Please, tell me if I'm wrong.
2. I also do not plan to provide any means (Gthru UI or command-line) to stop RMI server. I think it's an overhead. If anyone disagrees, please, let me know your thoughts/arguments.
Thank you
Ian B Anderson
Ranch Hand

Joined: Jun 26, 2001
Posts: 275
Hello Andrew,
I just included in my documentation the command to start the RMIRegistry and told then to use Ctrl C to stop it.
Now I didn't bother with a smooth shutdown for the server but I know lots of people who did. It's probably one of those things where you will definetly pass but you might get an extra mark or two for a smooth shutdown.
Good luck
I agree. Here's the link:
subject: Starting / stopping the RMI server
It's not a secret anymore!