Re: rmi, two binding methods, what differences?
- From: EJP <esmond.not.pitt@xxxxxxxxxxxxxxx>
- Date: Mon, 21 Aug 2006 00:39:00 GMT
John_Woo wrote:
staudinger wrote:
John_Woo schrieb:
B.
Registry registry = LocateRegistry.getRegistry();
registry.rebind("aName", astubObject);
It seems A has to use a port, which may need a special setting over
firewall; for B, what's the port number?
1099 by default.
what about if 1099 already in used?
It shouldn't be because it is reserved by IANA for the RMI Registry. So if it's in use it *should* mean that the RMI Registry is already running.
what significant difference between A & B?
The significant difference is that A starts the registry on port 'defport' and B assumes it is already running on port 1099.
.
- Follow-Ups:
- Re: rmi, two binding methods, what differences?
- From: John_Woo
- Re: rmi, two binding methods, what differences?
- References:
- rmi, two binding methods, what differences?
- From: John_Woo
- Re: rmi, two binding methods, what differences?
- From: staudinger
- Re: rmi, two binding methods, what differences?
- From: John_Woo
- rmi, two binding methods, what differences?
- Prev by Date: Re: is serialization really a performance hog?
- Next by Date: Re: SO_RCVLOWAT in Java Socket
- Previous by thread: Re: rmi, two binding methods, what differences?
- Next by thread: Re: rmi, two binding methods, what differences?
- Index(es):
Relevant Pages
|