1 / 8

Introduction - What is Jini Technology?

Introduction - What is Jini Technology?. Set of Java APIs & distributed network protocols built on top of RMI – object hierarchies…. Distributed Programming Model built on top of RMI and organised as federation of services (JVMs) Services – hardware devices, software, etc.

Télécharger la présentation

Introduction - What is Jini Technology?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction - What is Jini Technology? • Set of Java APIs & distributed network protocols built on top of RMI – object hierarchies…. • Distributed Programming Model built on top of RMI and organised as federation of services (JVMs) • Services – hardware devices, software, etc. • New network capabilies – SN, AC, SOD

  2. Jini Example Digital camera service Image/Persistent storage service Djinn Printer service Client

  3. How Jini Works • Runtime Infrastructure – lookup services, jini-service providers & jini clients -provides mechanisms for adding, using and removing services via Discovery, Join & Lookup • Programming Model - Helps build a distributed system as a federation of services and consists of 3 parts: • Leasing • Transactions • Distributed Event Model

  4. Discovery Protocol • Jini enabled device drops presence announcement • monitor port for presence announcement packets • Send ServiceRegistrar object to client/service • Client/service can then invoke methods on this object

  5. The Join Process • A “service” connects to a Lookup Service via the ServiceRegistrar object received during Discovery • A “service” sends information “ServiceItem” about itself through the ServiceRegistrar to the Lookup service • The Lookup Service stores this information and associates the service with the group • At this point, the service has joined the group on that Lookup Service

  6. The Lookup Process Lookup Server 2. Perform Discovery & get back ServiceRegistrar object • Register printer service with • Lookup Service 3. Send ServiceTemplate using registra.lookup(template) 4. Lookup service performs query & sends back matching service objects as return values of lookup() Printer Service 5. Client invokes methods on the service proxy object to interact directly with the printer 6. Printer prints document & notifies client via a remote event Client

  7. Remote PDA (Palm V) Printing Lookup Service with List of Service Items • Register HelloWordService • with Lookup Service • Register Bank service with • Lookup Service HelloWorldService Bank Service 2. Find Lookup Services • Register Printer Service • with Lookup Service 3. Download Printer Service proxy 4. Send document to printer using methods on the service object Print Proxy 5. Print document Printer service Client

  8. Conclusion • Set of protocols for building self-healing, robust distributed networks organised as federations of services • Adds new capabilities to networking, e.g. spontaneous networking, services-on-demand & automatic configuration. • Achieves this via its 5 main concepts of Discovery & Join, Lookup, Leasing, Remote Event Model and Transactions

More Related