1 Answer - Sort by: Date | Rating
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.
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.
1
0
- How To Make An Application By Using Java Program?
- What How The Step For Make Library Management?
- In Which Process We Can Start Java?
- Define The Concept Of Java Byte Code?
- How To Run Remote Method Invocation In More Machine?
- How To Run Java Remote Method Invocation In More Machine?
- How To Make A Java Program That Will Ask The User To Input A Number And Display All The Even Number And The Sum Of All Even Numbers Based On The Inputted/ Given Numbers?
- Is A Static Variable An Instance?
- How To Compile And Run Java Package?
- What Does Literati-on Mean?
- What Is Abstract Class In Details?
- What Is Meant By Remote Method Invocation In Java?
- What Is Meant By Package In Java?
- What Is Meant By Servlet In Java?
- When Was Java Released?
- What Is Latest Technologies In Java?
- Write A Program Using Do…..while Loop To Calculate And Print The First M Fibonacci Numbers?
- What Is The Difference Between Reference &instance Variable?
- Why Java Is Slow?
- What Is The Drawback Of Ms Access?
- What Is Replaced In Place Of Pointers In Java?
- What Replaces Pointers In Java?
- How Many Types We Create Object In Java?
- I Signed Up Promo Code 505124 For 12 Months My Bill Said For 6 Months Who Fix This Error?
- What Is The Expansion Of Java?
- How We Can Run The Program Of C++ In Java....?
- How To Compile And Run The Java Program?
- How Can I Run A C,C++ & JAVA Program From The Command Prompt?
- What Is The Coding To Run The Frame Program In Java?
- Who We Run Java Program When Extends Frame?
- Can A Java Program Run Without A Main Method?
- How Can We Run Java Program By Using Command Prompt?
- Can A Java Program Can Run Without Main Program? If Not Solve Me This Problem?
- How Can I Write A Program In Java And Make It Run Like A .exe?

New Comment - Comments are editable for 5 min.