Home TechnologyProgrammingJava Subscribe to RSS

How Do You Run A RMI Program In Java Application?

Answer Question

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 0

    Nadeem_it  

    answered 3 years ago

      More

         
         

        Ask a Question via Twitter

        Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

        Blurtit Store

        Get T-shirts, hoodies, caps and more at the Blurtit store

        Blurtit International