How Do You Run A RMI Program In Java Application?
Can't find what you're looking for?
Ask a Question, Get an Answer ASAP
Follow the following steps for running an RMI program:
1. Compile the interfaces and classes of server and client programs.
2. Generate stubs and skeletons for remote program e.g server (if your communication is one way i.e. from client to server) by the following command:
>rmic
3. Run RMI registry by command:
>start rmiregistry
4. Run your server program by command:
>start java
5. Start your client program that will call your required methods on server program.
answered 2 years ago
Ask questions on any topic, get great answers from real people for FREE. Blurtit has hundreds of thousand of members so your sure to get the answer your looking for.