JINI Technology

The java applet guide

The applet components:

The JINI Actors:

 Buttons, check boxes, lists and text areas:

 

Actions

In the JINI Simulation, we want to see how a user (User Agent) can get a simple reply to his question: " Where can I find a printer and a Camera available in the scope department INF.
The process of this request is split in different actions:

Services Registration:

At the beginning the operator can chose the status of the SP if its request is for the first time.

· If ‘first time’ flag is checked the program pass in the following steps:


Figure 2. LS Advertisement

 
 


Figure 3. Service register

 
             With these actions the LSs are discovered by the Service Provider and the services are registered at the LSs.
 

  Service deregistration

The service deregistration can be accomplished in a condition that we have already registered services

o SP send Service Deregister to LS for the service: Printer or Camera.

Service Request

      o LSs reply by LS advertisement (USER is configured by the SCOPE=INF then it will use the LS with the SPme scope in this case it’s Phobos)


Figure 7. DA Advertisement

       
      o USER unicast to the LS (Phobos)  a Service Request  for a desired service (ex. printer).


    Figure 7. Service Request (Unicast)

o LS unicast to the USER a service reply with the addresses of the available printers
 
 

Figure 8. Service Reply (Unicast)

DA crashed:


Figure 9. LS  Crashed

o USER unicasts to the LS a Service Request for a desired service, but LS doesn’t respond
o SER multicast a Service request (service : Lookup Service),but LS does not respond
o USER multicast a Service request (service : Service Provider)
o SP multicast SP Advertisement
USER will unicast its services to the SP
Afterward all the services will be requested from the SP till USER receive a LS advertisement.
 

Please send questions, comments, and/or suggestions toelkhous@iro.umontreal.ca

Last updated 12/08/00