Presentation is loading. Please wait.

Presentation is loading. Please wait.

Network Services 9/18/2018.

Similar presentations


Presentation on theme: "Network Services 9/18/2018."— Presentation transcript:

1 Network Services 9/18/2018

2 Distributed Application Paradigms
9/18/2018

3 Network Services Services can be located through a directory service.
Services can be discovered using a lookup service and a discovery protocol (e.g., JRMP). Services can join the community and register their availability with one or more lookup services. 9/18/2018

4 Network Services The network is seen as federations of services and clients. Services include applications, databases, servers, devices, information systems, mobile appliances, storage, printers. Clients are requesters (and consumers) of services 9/18/2018

5 Network Services Each federation of client and service(s):
is independent of other federations and may co-exist with other federations. is transient: the union lasts only for as long as the service(s) is/are needed. There is no centralized control system: There is no centralized administration of available services There are no policies that restrict federation between a client and services. 9/18/2018

6 Jini Network Technology
Jini provides an infrastructure and a programming model based on federation of network services. It uses RMI to transport objects It allows a client program to make use of services without being aware of the “wire protocol” used by the service. It provides the concept of leasing a service: a client requests the lease of a service, which expires after a time period. 9/18/2018

7 Jini Network Technology
A service is an object that implements a service API. A client looks up a service that supports an API. A discovered service object is sent to the client. The client and the service only have to agree on the API, and not how requests and responses are transmitted (e.g., protocol) 9/18/2018

8 Jini Network Technology
Jini is to network services what universal plug-and-play is to system devices: it allows interoperability of clients and services regardless of transport and “wire” protocols. 9/18/2018

9 Figure from “Jini By Example”
9/18/2018

10 Jini Network Technology
(II) From 9/18/2018

11 Jini Network Technology
(III) (IV) 9/18/2018

12 Jini code samples: HelloWorld – Calculator
“nugget” JiniExample1 illustrates network service lookup “nugget” JiniExample3 illustrates network service discovery (Noel Enete’s Nuggets for Jini (code samples), Calculator See “jini by Example” paper from California Software Lab. California Software Lab | Jini by Example – Whitepaper, 9/18/2018

13 Applications Shared network devices such as printers.
Service (software, video, music, etc.) on demand Shareware 9/18/2018

14 Sources of Information
Jini(tm) Network Technology, Core Jini, a book by Keith Edwards Jan Newmarch's Guide to JINI Technologies, Jini Planet, Directory of Jini™ Resources on the net: Tutorials_and_Examples, 9/18/2018

15 Sources of Information
Jini whitepaper, California Software Lab | Jini by Example – Whitepaper, Noel Enete’s Nuggets for Jini (code samples), Jini.org -- The Community Resource for Jini(tm) Technology, 9/18/2018


Download ppt "Network Services 9/18/2018."

Similar presentations


Ads by Google