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 TL and its use?

1991


Is the infobus client side only?

607


what are getters and setters in Java with examples?

1284


How to pass parameters in RMI?

1688


what is a non-repeatable read?

1828






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

693


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

579


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2553


Explain about local interfaces.

588


What is the difference between session and entity beans?

578


How messaging services are done, before release of JMS?

1585


what is Activation Instantinator?

1907


how do you Handle Front End Application data against DB with example?

1475


Do I have to use jsps with my application?

581


What is synchronization and why is it important?

543