dcsimg
What exactly does rmiregistry do?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Eduardo_Cuervo
Posted On:   Sunday, January 25, 2004 09:37 PM


I was wandering what happens when I run rmiregistry, it looks like it calls sun.rmi.registry.RegistryImpl



I've tried to do something like:



LocateRegistry.createRegistry(1099);


And it works, however to keep the process alive I have to add a neverending cycle, and it slows down everything.



So what should I do to mimic rmiregistry?

Re: What exactly does rmiregistry do?

Posted By:   Ivo_Limmen  
Posted On:   Sunday, January 25, 2004 11:19 PM

Creating a local registry in this matter:
LocateRegistry.createRegistry(1099);

Can be very usefull if you do not want to start your application and the rmicregistry application.
What do you mean by mimic the RMI registry? Do you want to intercept the events? Then you have to implement your own registry and pass on the events to the real registry.
About | Sitemap | Contact