What is RMI Registry?
Answer Posted / bhavya
Remote Method Invocation (RMI) facilitates object function calls between Java Virtual Machines (JVMs). JVMs can be located on separate computers - yet one JVM can invoke methods belonging to an object stored in another JVM. Methods can even pass objects that a foreign virtual machine has never encountered before, allowing dynamic loading of new classes as required. This is a powerful feature!
Consider the follow scenario :
Developer A writes a service that performs some useful function. He regularly updates this service, adding new features and improving existing ones.
Developer B wishes to use the service provided by Developer A. However, it's inconvenient for A to supply B with an update every time.
Java RMI provides a very easy solution! Since RMI can dynamically load new classes, Developer B can let RMI handle updates automatically for him. Developer A places the new classes in a web directory, where RMI can fetch the new updates as they are required.
you can get more on it at javacoffeebreak.com
| Is This Answer Correct ? | 11 Yes | 9 No |
Post New Answer View All Answers
what are RemoteObjects?
Have you used threads in Servelet?
Name the eight primitive java types.
What modifiers may be used with an interface declaration?
What is in-memory replication?
How many times may an objects finalize() method be invoked by the garbage collector?
what is an isolation level?
Why won’t the jvm terminate when I close all the application windows?
Is jvm a overhead?
What are transaction attributes?
How substring() method of string class create memory leaks?
What are the different types of exception?
What is the purpose of the wait(), notify(), and notifyall() methods?
how do you Handle Front End Application data against DB with example?
Define prototype?