You are on page 1of 24

RISHI M.

S INSTITUTE OF ENGINEERING & TECHNOLOGY


FOR WOMEN

JINI TECHNOLOGY
(Java Intelligent Network
Infrastructure)

Guide name : Mrs. K. Swapna


Presented by:
G.Keerthy
206P1A0528
CSE-4th
year
CONTENTS

● Introduction
● What is jini
● History of jini technology
● How jini works
● Jini players
● Jini process
● components
● Benefits
● Limitations
● Advantages
● Disadvantages
● Conclusion
INTRODUCTION

● Jini technology provides a simple infrastructure for delivering


services in a network.
● Regardless software and hardware implementation interaction
can be created between the programs which uses services.
● Adding and removing of services from the network can be done
and existing services can be found by new clients.
WHAT IS JINI

● Jini is a java – based technology that enables devices to


communicate with each other over a network.
● It is developed by Sun Microsystems.
● The jini technology makes a network more dynamic.
● Jini is also called “Apache River”.
● It provides mechanisms for devices to join and detach from network
dynamically without the need for configuring each device.
HISTORY OF JINI TECHNOLOGY

● Bill joy cofounder of sun invented jini at Sun Aspen small works R&D
lab in 1994.
● In July 1998 Sun introduced Jini.
● In 1998 November, Sun announced that some firms are supporting
jini.
● It was officially launched on January 25,1999.
HOW JINI WORKS

● To use a service, a person or a program


locates the service using lookup service.
● The lookup service acts as a switchboard
to connect a client looking for a service
with that service.
● Once the connection is made then the
lookup service is involved in any of the
resulting interactions between the client
and service
EXAMPLE
JINI PLAYERS
JINI PROCESS
COMPONENTS

● Services
● lookup service
● Discovery
● Join
● Extended RMI
● Leasing
● Transactions
● Java spaces
SERVICES

● A service is something which sits on network and performs some


useful function.
example: hardware devices, software, communication channels, even
users can be services.
● At any time a service can be added or withdrawn from jini.
● Set of java interfaces is a service protocol through which services
communicate.
● Set of services are open ended.
LOOKUP SERVICES
DISCOVERY
JOIN
EXTENDED RMI

● Java RMI is used for communication among services.


● Extended with leases.
● RMI provides the following
1. Activation
2. Distributed Garbage Collection
3. Multicast
4. Replication
LEASING

● This lease implies that the client can use the resource for a specified
time period.
● As part of the service protocol a lease is negotiated between the
client and the service.
● For some period a service is requested to access and granted for
some period.
● Client and network failures, removal of services are handled by
lease.
TRANSACTIONS

● A series of operations, either within a single service or spanning of


multiple services can be wrapped in a transition.
● Jini transaction interfaces supply a service protocol.
● It commit two phases
1. all results save in temporary storage.
2. move from temporary to permanent storage.
JAVA SPACES

● JavaSpace technology is written in java


1. Between providers and requestors of network resources or objects
javaspace technology acts as a virtual space.
2. Ability to create and store objects with persistence is provided by
javaspace technology.
JINI BENIFIT’S

● Same information and resources can be accessed by everyone.


● Jini’s program code is freely available on internet as it is open
source.
● We can easily add or remove resources.
● Without affecting users the services can be relocated on network.
LIMITATIONS

● Java/RMI or any other external mechanism is used for security.


● Between client and services jini uses lookup services as a broker so
it is not able to scale very large systems.
ADVANTAGES

● Jini is an open source.


● Jini supports an extremely flexible network as services and clients
can move code to where it is needed.
● New services are easy to program in java and can be easily added to
the network.
DISADVANTAGES

● Depends on java/RMI or external mechanism for security.


● Does not scale well to very large system because jini use lookup
service as a transmitted between client & services.
● The client may incur larger overheads compared to other
technologies, since it must have a java virtual machine installed as
well as the code that is downloaded from the network.
● This would not be a problem for a desktop computer, but could be
challenging for small devices.
CONCLUSION

● Jini is the feature of distributed systems.


● The dynamic nature of jini allows resources to be added subtracted
at any time without bothering other components.
● Open source code is available to download thus it has no limit.

You might also like