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


Please Help Members By Posting Answers For Below Questions

What is the difference between session and entity beans?

587


Can I have an action without a form?

609


Why doesn’t the focus feature on the tag work in every circumstance?

573


How will you pass parameters in RMI? Why do you serialize?

710


What is table mutation and how do you avoid it?

1921






Do we need to override service() method

1147


How task's priority is used in scheduling?

1790


What is a class loader? What are the different class loaders used by jvm?

593


Where can I ask questions and make suggestions about seam?

603


Are we allowed to change the transaction isolation property in middle of a transaction?

573


Do I need to import javlang package any time? Why ?

633


What is the diffrence between a local-tx-datasource and a xa-datasource?

585


What are externizable interface?

592


how i secure my site with the https protocol.what are the steps?

1744


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

578