What is rmi and steps involved in developing an rmi object?



What is rmi and steps involved in developing an rmi object?..

Answer / Kamlesh Bhumarkar

Remote Method Invocation (RMI) is a Java API that allows objects on one machine to invoke methods of objects located on another machine over a network. The steps to develop an RMI object are: 1. Implement the Remote and UnicastRemoteObject interfaces, 2. Create a Stub class using the RMI compiler, 3. Bind the remote object with a registry, 4. Client looks up the object in the registry and communicates with it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

1 Answers  


Is null false in java?

1 Answers  


what is thread? : Java thread

1 Answers  


Explain the private field modifier?

1 Answers  


What are predicates in java 8?

1 Answers  


How do you do math powers in java?

1 Answers  


What is singletonlist in java?

1 Answers  


What is volatile keyword in java

1 Answers  


Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target

7 Answers   Infosys, WW,


Can two objects have same hashcode?

1 Answers  


What are pass by reference and pass by value?

1 Answers  


What is files manifesting?

1 Answers  


Categories