Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jini Architecture Alessandro Brawerman. Contents Jini definition Advantages Architecture How it works Websites to check.

Similar presentations


Presentation on theme: "Jini Architecture Alessandro Brawerman. Contents Jini definition Advantages Architecture How it works Websites to check."— Presentation transcript:

1 Jini Architecture Alessandro Brawerman

2 Contents Jini definition Advantages Architecture How it works Websites to check

3 Distributed system - federating groups of users and the resources required by those users. Enables users to share services and resources over a network. Services can join or leave in a robust way, and clients can rely upon the availability of visible services until clear failure detections. What is Jini?

4 Moving to client-client model. Network plug-and-work, dynamic configuration. Easy access to resources anywhere on the network. Jini - Advantages

5 Erase the hard/software distinction. Simplifies maintaining and altering a network. Jini – Advantages (cont’d)

6 Based on Java Dynamically download and run code Built-in security RMI Depends on the Java environment rather programming. Jini – Java technology-centered

7 Service Proxy Lookup Service Client Jini – Architecture

8 Entity to be used by a person, program or another service. No hardware/software distinction. Dynamic nature – they can be added or withdrawal from a federation at any time. Examples: printers, disks, applications, databases, etc. Services

9 Each lookup service provides a list of available services, communication procedure and attributes. Lookup Service Lookup Service ALookup Service B Client A Client BClient C Printer Database Calendar Printer Database Printer Database Disk Storage

10 Discovery/Join Protocol Lookup Services Service sends a looking for lookup services Lookup Services respond Join Printer

11 It’s an object that teaches the client how to communicate with the service. The proxy is downloaded to the lookup services and then to clients. It can be the service itself. It can be an RMI stub. It can act as a smart adapter. Proxy

12 Proxy – Currency Converter CurrencyConv Lookup Service Client Proxy – Case 1 Currency Conv Client Currency Conv

13 Proxy – Currency Converter Proxy – Case 2 Client Currency Conv Service Currency Conv RMI 500 dollars 365 UK Pounds

14 Proxy – Currency Converter Proxy – Case 3 Client Currency Conv Service Currency Conv Dollar to UK pounds 0.75 RMI, CORBA, Socket, SOAP

15 Any entity that needs to use a service. Goes through a matching protocol: Client Lookup Services Client sends a looking for lookup services Lookup Services respond Lookup Services Client searches for type of services. Printer Lookup Services return the proxies. Printer

16 The Whole Process Lookup Service registration Proxy Printer Interface Registering the service:

17 The Whole Process (Cont’d) Lookup Service Printer Interface Client Looking up for printer interface Proxy Looking up for services :

18 The Whole Process (Cont’d) Client Using the service:

19 Services are registered for a bounded time. Special messages or Heartbeats. Proxies are leased for a bounded time. Clients can renew their proxies, if service permits. The leasing process takes care of fault detection. Leasing

20 Leasing (cont’d) Lookup Service Printer Interface X Lookup Service

21 Leasing (cont’d) Lookup Service Printer Interface Client Printer interface Leasing Renewal Yes, Leasing Time

22 www.jini.org www.sun.com/software/jini/ www.kedwards.com/jini/ References


Download ppt "Jini Architecture Alessandro Brawerman. Contents Jini definition Advantages Architecture How it works Websites to check."

Similar presentations


Ads by Google