A PRESENTATION ON “ JINI ” Presented By  :  SWATI B.Tech (Final year)
Outline What is JINI? Why  we use JINI? Purpose of JINI. Architecture of JINI. JINI Service-Oriented  Architecture JINI players JINI Process
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.
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 ”.
JINI as top of Java runs on any OS
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
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
  Architecture Overview JINI Services Remote Method Invocation TCP/IP The JINI Architecture Java Virtual Machine Data Link Layer
JINI Service-Oriented Architecture JINI Service Lookup Service Client Publish Bind/Invoke Find Attribute Proxy Proxy Lookup Service Publish Bind/Invoke Find Attribute Proxy
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
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.
JINI Service JINI Client  (Consumer) LUS –  Lookup Service  JINI Process 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
Discovery Service Provider Proxy Attributes Lookup Service Client Service provider or client seeks a Lookup Service
Join Service Provider Proxy Attributes Lookup Service Client A Service provider registers a service proxy and its service attributes with the Lookup Service Proxy Attributes
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.  Proxy Attributes Proxy
Thank you! QUERY?

Jini

  • 1.
    A PRESENTATION ON“ JINI ” Presented By : SWATI B.Tech (Final year)
  • 2.
    Outline What isJINI? Why we use JINI? Purpose of JINI. Architecture of JINI. JINI Service-Oriented Architecture JINI players JINI Process
  • 3.
    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.
  • 4.
    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 ”.
  • 5.
    JINI as topof Java runs on any OS
  • 6.
    Why we useJINI ? 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
  • 7.
    Enabling users toshare 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
  • 8.
    ArchitectureOverview JINI Services Remote Method Invocation TCP/IP The JINI Architecture Java Virtual Machine Data Link Layer
  • 9.
    JINI Service-Oriented ArchitectureJINI Service Lookup Service Client Publish Bind/Invoke Find Attribute Proxy Proxy Lookup Service Publish Bind/Invoke Find Attribute Proxy
  • 10.
    JINI Players Thereare 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
  • 11.
    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.
  • 12.
    JINI Service JINIClient (Consumer) LUS – Lookup Service JINI Process 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
  • 13.
    Discovery Service ProviderProxy Attributes Lookup Service Client Service provider or client seeks a Lookup Service
  • 14.
    Join Service ProviderProxy Attributes Lookup Service Client A Service provider registers a service proxy and its service attributes with the Lookup Service Proxy Attributes
  • 15.
    Lookup Service ProviderLookup Service Client A client requests a service by its type and/or its attributes. A copy of the proxy is moved to the client. Proxy Attributes Proxy
  • 16.

Editor's Notes

  • #13 LUS - that acts as a broker/trader/locator between services and clients. (Note that the JINI specification is fairly independent of network protocol, but the only current implementation is on TCP/IP). When new services become available on the network, they register themselves with a lookup service. When clients wish to locate a service to assist with some task, they consult a lookup service. Code is moved around between these three pieces, and this is done by marshalling the objects. This involves serializing the objects in such a way that they can be moved around the network and later reconstituted ( deserialized ) by using included information about the class files as well as instance data. The scenario of using JINI services is as follows: first, the client uses the lookup server to find the service(s) it wishes to use. The lookup service then returns information to the client (in the form of a Java Proxy) which allows the client to contact the service directly. Thereafter, the client and service exchange information directly and the lookup server is no longer required.