Welcome!
Version 1.06 – May 14, 2004
Examples logo

Welcome to the world of Jini(TM) Network Technology. The enclosed examples supplement the examples and information included with the Jini Technology Starter Kit (starter kit) and may be run with both the v1.2.1 and the v2.0 releases. In fact, those already familiar with previous releases of the starter kit may find it helpful to see how applications must be changed to work correctly with the v2.0 release.

The web site starterkit-examples.jini.org holds the latest version of these examples. It is hoped that updates and enhancements to these examples will be released regularly so check back often to see if a (hopefully improved!) new bundle is available.

The Examples

Name Description
Raytrace The Raytrace application is one of the first examples created for the starter kit. Two applications, one named worker and one named trace, work together to produce a raytraced scene of four semi-transparent colored balls suspended in space. The trace application divides up the scene into many separate parts and, through the use of a JavaSpaces(TM) service, takes those many parts to create separate work assignments for the worker processes. The worker process takes each assignment for rendering a portion of the scene, completes it, and puts the results back in the JavaSpaces service. The raytrace application retrieves these scene elements and displays them in the window as shown. raytrace picture
Cancellation This example illustrates the flexibility of Jini extensible remote invocation (Jini ERI) facilities by creating an application that can cancel remote calls. stop sign
Service Discovery Manager These examples illustrate the power and flexibility of Service Discovery Manager or SDM. With the SDM, you can find the services your application needs in just a few lines of code. SDM logo
DebugPolicyProvider This example supplies a dynamic policy provider that logs information about missing permissions and optionally grants all permissions. This is great tool for debugging and seeing who is asking for what!
ClassDepAndJar This utility provides a convenient means of packaging up your clients and services. Think of it as a 'smart linker'.
MORE... There are many more examples in the works. Please visit starterkit-examples.jini.org again to check for more examples.

What you'll need

The examples included in this package come pre-built and ready to run. However, there are some things that you'll need to build a suitable environment. These items are described here.

What to do next

It is recommended that you do the following:

There is much to learn and these examples can provide a nice start in the right direction. Don't forget about the other assets available to you in your climb up the learning curve. These include other projects and resources on jini.org, and mailing lists such as jini-users, rmi-users, and javaspaces-users. There are even Yahoo groups now dedicated to Jini technology.


Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.