An Introduction of Jini Technology How can JINI

  • Slides: 17
Download presentation
An Introduction of Jini Technology How can JINI Technology Boost Our Business Presenter: Carfield

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

Outline w w w w What is Jini? What is the advantage of using

Outline w w w w 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 Web. Service Some Commercial Jini Products Q&A

What is Jini? w Jini is a network technology that enables spontaneous assembly and

What is Jini? w Jini is a network technology that enables spontaneous assembly and interaction of services and devices on a network. [Adapted from Jini Network Technology datasheet] w Provide reliable services in an unreliable environment n This includes self-healing by leasing and transaction support for partial failure w Code mobility which is implemented by notion of Jini proxy

Jini's Infrastructure w Discovery, Join and Lookup Protocol l Discovery - looking for a

Jini's Infrastructure w Discovery, Join and Lookup Protocol l 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.

How Jini works? Adapted from Jini Technology Datasheet

How Jini works? Adapted from Jini Technology Datasheet

Jini's Programming Model w Leasing n Lease grantor grants a period of time to

Jini's Programming Model w Leasing n Lease grantor grants a period of time to the grantee. If there is no renewal after the lease expired, grantor will cancel the lease. w Remote Event n This is a distributed event environment. w Distributed Transaction n Implement the concept of Two-phase commit protocol

Java. Space w The Java version of tuple space, origin from Linda project from

Java. Space w The Java version of tuple space, origin from Linda project from Yale University w Provide a generic object broker for Jini service. w Thus, other than service distributed; data is also distributed.

How Java. Space Work

How Java. Space Work

Advantage of using Jini w Java. Space provide a total decoupling protocol w Jini

Advantage of using Jini w Java. Space provide a total decoupling protocol w Jini leasing mechanism provide a network wide Garbage Collection w Lookup and Discovery base on type but not name w Remote event and Distributed transaction simplify the distributed programming.

FYP Overview Tool Layer Architecture Tool Internet-IDEF Java. Spaces Jini network technology Java API

FYP Overview Tool Layer Architecture Tool Internet-IDEF Java. Spaces Jini network technology Java API for JAR file tools Startup Facility Component Architecture Project Resource Management API for Remote Service Tool Administration Communication Facility Tool. Proxy Interface Network Resource Management Client Application Util

Collaborative UML Editor GEF IIDEF Argo. UML NSUML GEF Argo. UML Socket server NSUML

Collaborative UML Editor GEF IIDEF Argo. UML NSUML GEF Argo. UML Socket server NSUML

How Jini help our project w Javaspace help to prevent deadlock of server model

How Jini help our project w Javaspace help to prevent deadlock of server model w Java. Space provide a network wide persistence support w Dynamic tool plug-in is facilitated by Jini's join , dicovery and lookup Protocol. w Java. Space provides a loose-coupled communication.

Jini/Javaspace Performance Issue w A scientific Java-based tuplespaces benchmark package available to test the

Jini/Javaspace Performance Issue w A scientific Java-based tuplespaces benchmark package available to test the performance http: //hea-www. harvard. edu/~mnoble/tonic/doc/ w A benchmark result of Javaspace http: //sitar. anr. mcnc. org/Java. Space_perf. html

Jini and Web. Service w Similar service base concept, but one is base on

Jini and Web. Service w Similar service base concept, but one is base on XML and one is base on Java

From http: //jini. groupserve. com/

From http: //jini. groupserve. com/

Some Commercial Jini Products w Commercial Java. Space implementation http: //www. j-spaces. com/ w

Some Commercial Jini Products w Commercial Java. Space implementation http: //www. j-spaces. com/ w IBM implementation of tuplespaces http: //www. almaden. ibm. com/cs/people/toby w Database Persistence of Java. Space http: //www. kalixia. com: 8080/projects/Xtreme. Space/index. html w Commercial consultation of jini http: //www. pronoic. org/index. Frame. Set. html

Reference Links w http: //java. sun. com/features/2000/09/jini. html (Successful Story) w http: //www. onjava.

Reference Links w http: //java. sun. com/features/2000/09/jini. html (Successful Story) w http: //www. onjava. com/onjava/p 2 p_java/ (O’rielly Jini resource) w http: //www. theserverside. com/patterns/thread. jsp? thread_id =7158 (discussion thread to compare Jini and J 2 EE) w http: //www. cdegroot. com/cgi-bin/jini (Jini wiki) w http: //jini. groupserve. com/ (Jini webservice) w http: //www. javaspaces. homestead. com/ (Javaspace paper)