Re: rmi, two binding methods, what differences?
- From: "John_Woo" <john_woo@xxxxxxxxxx>
- Date: 21 Aug 2006 07:22:53 -0700
EJP wrote:
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.
Thanks lots,
the port 1099, in my unix, may already be used by other app (not java).
in this case,
how would you think the default port for rmi?
John
.
- Follow-Ups:
- 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
- Re: rmi, two binding methods, what differences?
- From: EJP
- rmi, two binding methods, what differences?
- Prev by Date: pasting images from excel with transparency have a black background
- Next by Date: Re: Question about extending inner class
- Previous by thread: Re: rmi, two binding methods, what differences?
- Next by thread: Re: rmi, two binding methods, what differences?
- Index(es):
Relevant Pages
|