![]() |
Start Jini
|
|---|
|
Jini's Lookup Service should be started before running any of the examples.
Note: If you are running on a computer that was not connected
to a network when it was booted, there is a particularly annoying bug
(feature?) of RMI under Windows for which you must
compensate1 or you will get an
|
|
To start the Jini LookupService first edit the
|
|
Figure 1: Set Install Point |
|
|
|
Start the RMI daemon:
...and the Lookup Service's Web Server:
...and the Lookup Service (called reggie):
|
|
Figure 2: Jini Launch Scripts |
|
...and a poor man's Jini Browser:
|
|
Figure 3: Poor Man's Browser Output |
|
|
# Copyright (c) 1993-1995 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows NT. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost 10.4.101.227 pc-sn709199 pc-sn709199.mydomain.com |
|
The last line indicates that my computer uses the IP address
To get your host name, go to
the command line and type With these changes in place, when RMI attempts to contact the host
by host name, it will fail to find the domain name server, but will
be able to resolve the name from your hosts file, and RMI will come all the
way up, and reggie will come up, and you are ready for action.
|
|
by Noel Enete . . . www.enete.com . . . noel@enete.com |