Re: rmi, two binding methods, what differences?



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.
.



Relevant Pages

  • Re: Serial Port Application
    ... Can the registry be viewed from a Windows CE image? ... drivers which are actually active. ... >> Although the serial com port I use is defined under. ... I have created a new serial test program ...
    (microsoft.public.windowsce.app.development)
  • Re: Cannot Remote Desktop to home PC after installing XP SP3
    ... Remote Desktop unless a registry tweak is made. ... Are you connecting from a client which runs rdp 6.x? ... machine or port). ...
    (microsoft.public.windows.terminal_services)
  • Re: start service with parameters on restart
    ... i've rebooted the server with the registry hack in place. ... "Pegasus (MVP)" wrote: ... the parameter is a port number, ...
    (microsoft.public.windows.server.general)
  • Re: How do I clean out unwanted virtual COM ports?
    ... If I have a parade of devices with unique serial numbers the registry grows and grows with clutter. ... The problem is even worse when the devices are USB to serial devices that are assigned the next available COM port as well. ... However if the device is re-tested it will want to run the found new hardware wizard and add to the registry. ... I know the devices are gone for good and I want to pass this gem of knowledge on to windows to remove clutter and free consumed resources. ...
    (microsoft.public.windowsxp.general)
  • Re: benötigte Ports für FE-BE-Kommunikation durch eine Firewall
    ... > Firewall hindurch gehen muss. ... One port for the Active Directory logon and directory replication interface ... This value is not set in the DSProxy or System ... To map the port in the registry: ...
    (microsoft.public.de.german.exchange2000.setup.installation)