How do I create an RMI registry without using the rmiregistry program?

Avi Kak

By using the LocateRegistry.createRegistry( int port ) method in the program that hosts your server object. For a quick example, see the code in the Feedback and Comments section of jGuru RMI FAQ Entry 1002. The RMI registry in that program is started by the invocation LocateRegistry.createRegistry( 1099 ) in the class file.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact