Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jini B.Ramamurthy 5/15/2019 B.Ramamurthy.

Similar presentations


Presentation on theme: "Jini B.Ramamurthy 5/15/2019 B.Ramamurthy."— Presentation transcript:

1 Jini B.Ramamurthy 5/15/2019 B.Ramamurthy

2 Introduction Jini (Jini Is Not Initials) is Java’s solution to providing connectivity to services and devices. It is network-centric computing model as opposed to network-transparent model offered by CORBA and other earlier distributed system models. In this discussion we will discuss Jini and also Project 3 requirements. 5/15/2019 B.Ramamurthy

3 Jini Vision Software infrastructure that includes devices must be incredibly robust. The devices have to support true “plug and play”. Software systems must be evolvable. Devices and services should form spontaneous communities. (Note : Devices and services are interchangeably used) 5/15/2019 B.Ramamurthy

4 Sun Community Source Licensing (SCSL)
Sun provides access to Jini source code under a policy called Community Source Code Licensing. Allows free access to source code for registered developers. If you have any suggestions for improvement, bug fixes there is a mechanism for submitting this information. Sun will review this and incorporate your submission in its next scheduled release. (every 6 months) 5/15/2019 B.Ramamurthy

5 Basic Requirements A simple web server (Jini does come with a simple HTTP server) An RMI activation deamon (comes with Java 2). A lookup service (comes with Jini) 5/15/2019 B.Ramamurthy

6 Jini and Name Servers Jini does serves the functionality of a nane server. But it is much more than that. Jini differs from names servers such as LDAP (Light Weight Directory Access Protocol) or DNS (Domain Name Service) in two aspects: 5/15/2019 B.Ramamurthy

7 Jini and Name Servers (contd.)
Services can appear and disappear without much overhead. Interested parties can be notified when a service changes. Jini is self-healing. It accepts partial failures and has mechanisms for taking care of this. 5/15/2019 B.Ramamurthy

8 Five Key Concepts 1. Discovery 2. Lookup 3. Leasing 4. Remote Events
5. Transactions 5/15/2019 B.Ramamurthy

9 Jini Services/Devices
Service providers in Jini can be: 1. Pure software component 2. Pure hardware device 3. Combination of the two For obvious reasons we will consider only software services. 5/15/2019 B.Ramamurthy

10 The Big Picture Lookup service Community Federation 5/15/2019
B.Ramamurthy

11 Discovery and Lookup Discovery is Jini service that finds communities on the network to join to form a spontaneous “federation”. It basically seaches and locates lookup services of communities. Lookup service has the details of services, their location, code, attributes etc. 5/15/2019 B.Ramamurthy

12 Leasing Leasing is the technique that provides the self-healing characteristic of Jini. Every services provider keeps renewing its lease with the holder of the services (probably a lookup service) periodically. If it fails to update lease the service will be deleted from the community. This automatically removes failed or crashed server from the network thus carrying out the self-healing. 5/15/2019 B.Ramamurthy


Download ppt "Jini B.Ramamurthy 5/15/2019 B.Ramamurthy."

Similar presentations


Ads by Google