Jini - PowerPoint PPT Presentation

About This Presentation
Title:

Jini

Description:

Jini (Jini Is Not Initials) is Java's solution to providing connectivity to ... have any suggestions for improvement, bug fixes there is a mechanism for ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 13
Provided by: kumarm8
Learn more at: https://cse.buffalo.edu
Category:
Tags: bugfixes | jini

less

Transcript and Presenter's Notes

Title: Jini


1
Jini
  • B.Ramamurthy

2
Introduction
  • Jini (Jini Is Not Initials) is Javas 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.

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)

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

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

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.

8
Five Key Concepts
  • 1. Discovery
  • 2. Lookup
  • 3. Leasing
  • 4. Remote Events
  • 5. Transactions

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.

10
The Big Picture
Federation
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.

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.
Write a Comment
User Comments (0)
About PowerShow.com