Cover image for Jini : a desktop quick reference
Jini : a desktop quick reference
Oaks, Scott.
Personal Author:
First edition.
Publication Information:
Sebastopol, CA : O'Reilly, [2000]

Physical Description:
xiii, 400 pages : illustrations ; 23 cm.
General Note:
Includes indexes.
Added Author:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.9.C55 O25 2000 Adult Non-Fiction Central Closed Stacks

On Order



Jini is a simple set of Java Classes and services that allows devices (e.g., printers) and services (e.g., printing) to access each other seamlessly, adapt to a continually changing environment, and share code and configurations transparently. Jini has the potential to radically alter our use of computer networks, since it allows and encourages totally new types of services and new uses of existing networks. Jini in a Nutshell is a quick reference guide to developing services and clients using Jini. It covers everything an experienced Java programmer needs to know to implement Jini, including tutorial chapters to get you up to speed quickly and reference chapters that analyze and explain every Java package related to Jini. Over the course of the book the authors develop a complete example program--with samples of both server and client applications.Topics covered include:

Setting up the Jini programming environment RMI Basic and advanced Jini programming Jini services, including JavaSpaces Jini utilities Security Jini in a Nutshell covers the Jini 1.0 specification and requires the Java 2 Platform.

Author Notes

Scott Oaks is a Java Technologist at Sun Microsystems, where he has worked since 1987. While at Sun, he has specialized in many disparate technologies, from the SunOS kernel to network programming and RPCs. Since 1995, hes focused primarily on Java and bringing Java technology to end-users. Scott also authored OReillys Java Security, Java Threads and Jini in a Nutshell titles.

Henry Wong is a tactical engineer at Sun Microsystems, where he has worked since 1989. Originally hired as a consultant to help customers with special device drivers, kernel modifications, and DOS interoperability products, Henry has also worked on Solaris ports, performance tuning projects, and multithreaded design and implementations for benchmarks and demos. Since early 1995, Henry has been involved in developing Java prototypes and supporting customers who are using Java. Prior to joining Sun, Henry earned a bachelor of science degree in chemical engineering from The Cooper Union in 1987. He joined a small software company in 1986 working on SCSI device drivers, image and audio data compression, and graphics tools used for a medical information system. When not in front of a computer, Henry is an instrument rated private pilot, who also likes to dabble in archery, cooking, and traveling to different places with his wife, Nini.

Table of Contents

Prefacep. ix
Part I Introducing Jini
Chapter 1 Introduction to Jinip. 3
What Is Jini?p. 4
Jini Technologyp. 6
Jini and RMIp. 12
Jini Prerequisitesp. 15
The Jini Community Processp. 15
The Sun Community Source Licensep. 16
Summaryp. 17
Chapter 2 Getting Started with Jinip. 18
Downloading Jinip. 18
Setting Up Your Environmentp. 21
Starting Jini Servicesp. 22
Using the Start Services GUI Toolp. 29
Chapter 3 Remote Method Invocationp. 35
Object Serializationp. 36
A Simple RMI Examplep. 40
Transporting Codep. 45
Activationp. 49
Proxying RMI Servicesp. 54
Summaryp. 56
Chapter 4 Basic Jini Programmingp. 57
The Jini Lookup Servicep. 57
A Simple Service and Clientp. 59
Leasing and the Lookup Servicep. 67
Lookup and Discovery Support Classesp. 71
Attributes and the Entry Interfacep. 77
Other Service Implementationsp. 82
Summaryp. 85
Chapter 5 Leasingp. 86
The Service Interfacesp. 88
The Service Implementationp. 89
The Client Implementationp. 96
Lease Policiesp. 97
Summaryp. 101
Chapter 6 Remote Eventsp. 102
A Remote Event Examplep. 103
Remote Events and the Jini Lookup Servicep. 111
Summaryp. 116
Chapter 7 Service Administrationp. 117
Administration APIsp. 117
Providing a Custom Administration Interfacep. 124
Summaryp. 127
Chapter 8 Miscellaneous Classesp. 128
Collectionsp. 129
Thread Utilitiesp. 130
Parsing Command Linesp. 141
Summaryp. 142
Chapter 9 Transactionsp. 143
Overview of Transactionsp. 143
The Client-Side Transaction APIsp. 145
The Jini Transaction Frameworkp. 147
Summaryp. 154
Chapter 10 The JavaSpaces Servicep. 155
The JavaSpaces APIp. 156
A JavaSpaces Examplep. 159
Embedding JavaSpaces in Servicesp. 163
Summaryp. 167
Chapter 11 Helper Servicesp. 168
The Lookup Discovery Servicep. 169
The Lease Renewal Servicep. 171
The Event Mailbox Servicep. 173
An Activatable Service Examplep. 174
A Detachable Clientp. 190
Summaryp. 195
Chapter 12 Security in Jinip. 196
Sample Policy Filesp. 197
Jini Policy Filesp. 198
Jini Security Classesp. 200
Summaryp. 200
Part II Quick Reference
How To Use This Quick Referencep. 203
Chapter 13 Service Referencep. 212
Fiddlerp. 212
Mahalop. 215
Mercuryp. 217
Normp. 219
Outriggerp. 221
Reggiep. 224
Chapter 14 The com.sun.jini Packagesp. 227
Chapter 15 The net.jini.core Packagep. 265
Chapter 16 The net.jini Packagesp. 291
Chapter 17 The java Packagesp. 326
Chapter 18 Class, Method, and Field Indexp. 366
Indexp. 377