Home TechnologyProgrammingSQL & Databases Subscribe to RSS

What Is Rmi? Explain In Short.

What is rmi? explain in short.

Answer Question

2 Answers - Sort by: Date | Rating

    RMI means Remote Method Invocation and it is simply called Java RMI. It facilitates the programmer to make distributed Java technology-based to Java technology-based applications.  Remote Java object methods can be in which the methods of remote Java objects can be called from other Java virtual machines.
    0 0

    Zuhail 

    answered 3 years ago

      RMI refers to Remote Method Invocation. That is from your machine you can access the method which is available in a remote machine. The coding is in java only.
                    You will be writing the following files.
      1. Seperate file for writing the interface(for example myintf.java).
      2. Seperate file in which you write the code for the implementation of the interface(for example myIntfImpl.java).
      3. Server file(for example myServer.java)
      4. Client file(for example myClient.java).

      Compile all these files, class files are generated. Start the RMI registry by invoking the command start "rmiregistry"

      Then it is the process of creating stub and skeleton.
      Compile the implementation class file myIntfImpl.class using
      "rmic". Stub and skeleton will be created.

      Start the server program.

      Then the client program.
      0 0

      Jpvpeter 

      answered 2 years ago

        More

        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