Jini

16
A PRESENTATION ON JINIPresented By : SWATI B.Tech (Final year)

description

 

Transcript of Jini

Page 1: Jini

A PRESENTATION ON“JINI”

Presented By : SWATI

B.Tech (Final year)

Page 2: Jini

Outline

What is JINI? Why we use JINI? Purpose of JINI. Architecture of JINI. JINI Service-Oriented Architecture JINI players JINI Process

Page 3: Jini

What is JINI?

JINI is a distributed system architecture, developed by Sun Microsystems.

Its main goal is “network plug and play”.

JINI is not an acronym, it’s coined by one of its designers--Bill Joy.

Page 4: Jini

What is JINI? (CONT.)

The JINI technology makes a network more dynamic.

It provides mechanisms for devices to join and detach from network dynamically without the need for configuring each device.

JINI is also called “Apache River”.

Page 5: Jini

JINI as top of Java runs on any OS

Page 6: Jini

Why we use JINI ?

Code mobility: Both code and data can move from machine to machine.

Protocol agnostic: Service protocol is a set of interfaces written in Java. This provides a high degree of design flexibility.

Leasing: Enables network robustness and self-healing

Page 7: Jini

Enabling users to share services or resources over a network.

Providing users easy access to the resources anywhere on the network.

Simplifying the task of building, maintaining, and altering a network of devices, software, and users.

Purpose of JINI

Page 8: Jini

Architecture Overview

JINI Services

Remote Method Invocation

TCP/IP

The JINI Architecture

Java Virtual Machine

Data Link Layer

Page 9: Jini

JINI Service-Oriented Architecture

JINI ServiceJINI Service

LookupServiceLookupService

ClientClient

Publish

Bind/Invoke

Find

AttributeProxyProxy

LookupServiceLookupService

Publish

Bind/Invoke

Find

AttributeProxy

Page 10: Jini

JINI Players

There are three main players:

a service, such as a printer, scanner, storage device, a software service etc.

a client which would like to make use of this service.

a lookup service (LUS) - a service locator

Page 11: Jini

JINI service: A JINI service is a piece

of independent functionality that is made available to other users and can be accessed remotely across the network.

Client : A client is a device or software component that would like to make use of a service.

Lookup service: A lookup service helps clients, find and connect to services.

Page 12: Jini

JINI Service

JINI Client (Consumer)

LUS – Lookup

Service

1. JINI service discovers LUS and registers its service

2. JINI client discovers LUS and locates the desired JINI service

4. JINI client uses proxy to contact JINI service directly

3. JINI client receives Java proxy for JINI Service

JINI Process

Page 13: Jini

Discovery

Service Provider

ProxyAttributes

Lookup Service

Client

Service provider or client seeks a Lookup Service

Page 14: Jini

Join

Service Provider

ProxyAttributes

Lookup Service

Client

A Service provider registers a service proxy and its service attributes with the Lookup Service

ProxyAttributes

Page 15: Jini

Lookup

Service Provider

Lookup Service

Client

A client requests a service by its type and/or its attributes. A copy of the proxy is moved to the client.

ProxyAttributes

Proxy

Page 16: Jini

Thank you!

QUERY?