how can i start Rmi Registry
1 posts in topic
Flat View  Flat View

Posted By:   haribaskar_sethuraman
Posted On:   Saturday, March 9, 2002 06:01 AM

how can i start Rmi Registry automatically from my java application like servlet?

Re: how can i start Rmi Registry

Posted By:   Anonymous  
Posted On:   Sunday, March 10, 2002 05:10 AM

There is a method for this in the LocateRegistry class:

LocateRegistry.createRegistry ( )

The JDK API docs give more details about this.

Allthough I would really discourage to do this form a Servlet, this is quite a poor design and this sort of functionality is not something to be done in a Servlet (I actually doubt if this is allowed by the security manager of all Servlet engines)...

Hope this helps,



About | Sitemap | Contact