jini
Post on 16-Apr-2017
1.694 Views
Preview:
TRANSCRIPT
JINIby Tanmoy BarmanCont:-barmantanmoy.47@gmail.com
Discussion
What? Where JINI is used? History. Components. How JINI works? Advantages.
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.
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.
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.
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.
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.
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.
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).
Components
Resource Client
Lookup Service
Connected network
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.
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.
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
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.
JINI Technology make things work possible
Thank you
top related