jini

16

Click here to load reader

Upload: tanmoy-barman

Post on 16-Apr-2017

1.694 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Jini

JINIby Tanmoy BarmanCont:[email protected]

Page 2: Jini

Discussion

What? Where JINI is used? History. Components. How JINI works? Advantages.

Page 3: Jini

What?

JINI is a programming model or architecture which enables configuration and deployment of distributed systems.

JINI simplifies the addition of devices where each and every devices can be plugged together to form a community; a community which can be formed with minimum configuration, human intervention and device drivers.

Page 4: Jini

What? Devices can hardware as well as software

written in java which provide their services through distributed network interfaces. These devices in JINI is called “Resource/Service”.

Services joined the network and make their presence announce to the “lookup Service”.

“Client” use lookup Service to locate resource and call them to perform their task.

Page 5: Jini

Where JINI is used?

Any hardware and software devices.

Any consumer appliances that can pass digital information such as it can be a Xerox machine, coffee machine or a washing machine.

Page 6: Jini

ScenarioThree users Nabin, Teddy, Ujjal present in different location but connected in a network. They can easily share the resources with each other with the help of JINI technology.

Page 7: Jini

History of JINI. The idea of the JINI system developed by Sun

cofounder Bill Joy at Sun Aspen Smallworks R&D lab in 1994.

Under the leadership of Bill Joy and Jim Waldo Ann Wollrath, the inventor and designer for

Java Remote Method Invocation (Java RMI) Ken Arnold, the designer of JavaSpaces™

technology Bob Scheifler, a principal of the X

Consortium and designer of Lookup/Discovery.

Page 8: Jini

History of JINI On January 25, 1999, JINI was officially launched

and the technology is available for download

By September 1999, 18,000 click-thru agreement //downloads of JINI release from Sun’s web site

Sun currently has agreement with a wide range of technology companies to develop JINI technology services, both hardware and software.

Page 9: Jini

Components Components in JINI:

Resource▪ Are the devices which provide their

functionalities over the network to the clients.

Lookup Service▪ Acts as a broker between Service and Client.

Client▪ They use the function provided Device(i.e.

Service).

Page 10: Jini

Components

Resource Client

Lookup Service

Connected network

Page 11: Jini

How JINI works? JINI is based on look up service, when a device

adds to a network it goes through a add-in protocol called ‘discovery and join’.

The device first locate the look up service and loads a service register object which will serve as a local proxy for the look up service.

This service register object implements the look up service interface and the protocol is used for communicating between the client and the look ups service.

Page 12: Jini

How JINI works? The client who wants to use the service locate the

device using the look up service. A service object representing the service is uploaded in the requesting client by the look up service.

The Service object implements the service interface which take care with the remote implementation with the remote service. The client may now use the service by invoking methods on the local service object. Once the connection is established the look up service is no more required.

Page 13: Jini

How JINI works?

Internet

LookUp

Service

Service/

Resource

Client

Start the look up service

Locate the look up service

And install service register

object

Locate the service

using look up

service

Install the object representing the service to the client

Communicate directly with the service by invoking methods on the local object

Page 14: Jini

Advantages

No configuration hash less and device drivers.

Device can announce their presence in the network easily.

Same devices and information can shared with every one present over the network.

Seamless access to local and remote devices.

Architecture Independent. Dynamic environment.

Page 15: Jini

JINI Technology make things work possible

Page 16: Jini

Thank you