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
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is meant by method chaining?
Define the remote object implementation?
Describe, in general, how java's garbage collector works?
Explain about local interfaces.
What value does readline() return when it has reached the end of a file?
What is Stream Tokenizer?
Explain about thread synchronization inside a monitor?
What are the benefits of detached objects?
Can I map more than one table in a cmp?
What is a class loader? What are the different class loaders used by jvm?
What’s jboss cache in short?
Can I run seam outside of jboss as?
Do you think that java should have had pointers?
what is a portable component?