PDA

View Full Version : Who starts the RMI-Registry?



bellmann29
Apr 14th, 2005, 06:43 AM
Hi all,

my question is: Who starts the RMI-Registry?
Have I to do it manually? Or does Spring providing a way for doing this?

Thanks.

cmgharris
Apr 14th, 2005, 09:30 AM
I think org.springframework.remoting.rmi.RmiServiceExporte r will do this for you.

Juergen Hoeller
Apr 14th, 2005, 02:30 PM
Yes, RmiServiceExporter will implicitly start an RMI registry if none is found at the specified "registryPort" (by default: 1099). So you have two options: either start an external registry and let RmiServiceExporter access it, or let RmiServiceExporter start an internal registry.

Juergen

bellmann29
Apr 14th, 2005, 07:03 PM
Hi all,

thanks for quick reply, will try it.

Bello