17
An Introduction of Jini Technology Presenter: Carfield Yim, Gary Lam Date: 31-Jul-2002 How can JINI Technology Boost Our Business

An Introduction of Jini Technology

  • Upload
    watson

  • View
    19

  • Download
    0

Embed Size (px)

DESCRIPTION

An Introduction of Jini Technology. How can JINI Technology Boost Our Business. Presenter: Carfield Yim, Gary Lam Date: 31-Jul-2002. Outline. What is Jini? What is the advantage of using Jini? FYP Overview How Jini help our final year project Jini/Javaspace performance issue - PowerPoint PPT Presentation

Citation preview

Page 1: An Introduction of Jini Technology

An Introduction of Jini Technology

Presenter: Carfield Yim, Gary Lam

Date: 31-Jul-2002

How can JINI Technology Boost Our Business

Page 2: An Introduction of Jini Technology

Outline

What is Jini? What is the advantage of using Jini? FYP Overview How Jini help our final year project Jini/Javaspace performance issue Jini and WebService Some Commercial Jini Products Q & A

Page 3: An Introduction of Jini Technology

What is Jini?

Jini is a network technology that enables spontaneous assembly and interaction of services and devices on a network. [Adapted from Jini Network Technology datasheet]

Provide reliable services in an unreliable environment This includes self-healing by leasing and

transaction support for partial failure Code mobility which is implemented by notion

of Jini proxy

Page 4: An Introduction of Jini Technology

Jini's Infrastructure

Discovery, Join and Lookup Protocol Discovery - looking for a lookup service for registration or

request of a service. Join – A joining process of a service. Discovery should be

performed beforehand. If joining process is succeed, a Jini proxy will be uploaded to the lookup service.

Lookup – search a service to be used. This involves locating and invoking the service. The matching is based on Java type concept. The service is located by downloading the Jini proxy of that service to the client.

Page 5: An Introduction of Jini Technology

How Jini works?

Adapted from Jini Technology Datasheet

Page 6: An Introduction of Jini Technology

Jini's Programming Model

Leasing Lease grantor grants a period of time to the

grantee. If there is no renewal after the lease expired, grantor will cancel the lease.

Remote Event This is a distributed event environment.

Distributed Transaction Implement the concept of Two-phase commit

protocol

Page 7: An Introduction of Jini Technology

JavaSpace

The Java version of tuple space, origin from Linda project from Yale University

Provide a generic object broker for Jini service. Thus, other than service distributed; data is

also distributed.

Page 8: An Introduction of Jini Technology

How JavaSpace Work

Page 9: An Introduction of Jini Technology

Advantage of using Jini

JavaSpace provide a total decoupling protocol Jini leasing mechanism provide a network wide

Garbage Collection Lookup and Discovery base on type but not

name Remote event and Distributed transaction

simplify the distributed programming.

Page 10: An Introduction of Jini Technology

FYP Overview

Java

Internet-IDEF

Jini network technology

JavaSpaces

Tool Tool Tool Tool

Project Resource

ManagementCommunication

Facility

Network Resource Management Util

Startup Facility Tool Administration

ToolProxy Interface

API for JAR file tools

API forRemote Service Client

Application

Layer Architecture

Component Architecture

Page 11: An Introduction of Jini Technology

Collaborative UML Editor

IIDEF

Socket server

ArgoUML

GEF

NSUML

ArgoUML

GEF

NSUML

Page 12: An Introduction of Jini Technology

How Jini help our project

Javaspace help to prevent deadlock of server model

JavaSpace provide a network wide persistence support

Dynamic tool plug-in is facilitated by Jini's join , dicovery and lookup Protocol.

JavaSpace provides a loose-coupled communication.

Page 13: An Introduction of Jini Technology

Jini/Javaspace Performance Issue

A scientific Java-based tuplespaces benchmark package available to test the performance http://hea-www.harvard.edu/~mnoble/tonic/doc/

A benchmark result of Javaspace http://sitar.anr.mcnc.org/JavaSpace_perf.html

Page 14: An Introduction of Jini Technology

Jini and WebService

Similar service base concept, but one is base on XML and one is base on Java

Page 15: An Introduction of Jini Technology

From http://jini.groupserve.com/

Page 16: An Introduction of Jini Technology

Some Commercial Jini Products

Commercial JavaSpace implementation http://www.j-spaces.com/

IBM implementation of tuplespaces http://www.almaden.ibm.com/cs/people/toby

Database Persistence of JavaSpace http://www.kalixia.com:8080/projects/XtremeSpace/index.html

Commercial consultation of jini http://www.pronoic.org/indexFrameSet.html

Page 17: An Introduction of Jini Technology

Reference Links

http://java.sun.com/features/2000/09/jini.html (Successful Story)

http://www.onjava.com/onjava/p2p_java/ (O’rielly Jini resource)

http://www.theserverside.com/patterns/thread.jsp?thread_id=7158 (discussion thread to compare Jini and J2EE)

http://www.cdegroot.com/cgi-bin/jini (Jini wiki) http://jini.groupserve.com/ (Jini webservice) http://www.javaspaces.homestead.com/ (Javaspace paper)