A Programmer[ap]s Guide to Jini Technology

  

Index

S

security

being paranoid about, 186

of Jini distributed systems, 169 “191

in Jini federation, 173 “176

for joining groups, 175

reducing risks on Unix, 182 “183

risks of not giving enough permission, 172 “173

of ServiceRegistrar interface, 179

service requirements, 174 “176

socket permission, 175

SecurityManager

security decisions made by, 169 “170

statement for including in code, 169

security model

options in Jini 1.2, 174

security policy

for activatable service, 181 “182

example of minimal, 175 “176

to restrict possible attacks, 189 “191

setting for transaction manager, 180 “182

Serializable interface

implementation of, 87 “88

server

class diagram for leasing on, 227

classes needed in the CLASSPATH of, 105

class files needed for factory implementation, 201

communication with the non-RMI proxy, 113

creation of activation group by, 397 “402

server JVM

objects in, 103

server leasing

class diagram for, 227

servers

class file sources, 193 “203

server structure, 10 “11

server threads

moving registration code to a separate, 204 “206

service

creation of in a Jini system, 3 “5

in a Jini system, 2 “3

service architecture

choices for, 109 “152

service backend objects, 7 “8

ServiceDiscoveryEvent objects

monitoring changes in services with, 267 “269

ServiceDiscoveryListener interface

monitoring changes to the cache, 266 “267

ServiceDiscoveryManager, 255 “269

ServiceDiscoveryManager interface, 255 “256

building a cache of services in, 262 “265

ServiceEvent.getTransition( ) method

categories from, 249 “250

ServiceID, 54

using when registering with a service locator, 222 “225

serviceID field

ServiceTemplate object, 61

ServiceIDListener

changes in Jini version 1.1, 18

serviceID parameter

ServiceItem object, 49 “55

ServiceInfo class

subclassed out of AbstractEntry, 47

ServiceItemFilter interface

client-side filter for finding services, 256 “257

using check( ) method in, 259 “261

ServiceItem object

creating, 49 “50

parameters, 50

service locator. See also lookup service

class file sources, 193 “203

discovering in Jini, 23 “42

leasing changes to, 225 “233

procedure to use when registering with, 222 “225

querying for, 4

service locator JVM

objects in, 93

ServiceMatches object

receiving, 60 “61

service matching

inexact , 209 “213

using local services, 213 “221

service object

registration of with lookup services, 3 “5

storing on the lookup service, 5

service parameter

ServiceItem object, 50

service( ) parameter

ServiceItem object, 49 “55

service provider

choices for, 128 “131

classes and interfaces needed to be known by, 105

creation of a service by, 3 “5

role of, 3 “5

service proxy

integration with service backend objects, 97 “98

ServiceRegistrar

implementation of, 39 “40

information from, 41

methods for, 40

methods used with, 57 “58

searching for services with, 57 “60

service registration with, 49

ServiceRegistrar interface

security issues, 179

service registration, 3 “5

with lookup locators, 49 “55

with ServiceRegistrar, 49

ServiceRegistration class

public methods for, 51

ServiceRegistration object

creating, 51 “52

getting information from, 54

objects in, 51

services

building a cache of, 262 “265

matching, 61 “62

monitoring changes in, 249 “254

program for monitoring all changes in, 250 “254

searching for with ServiceRegistrar, 57 “60

template for monitoring all changes, 250

service specification

for building a client, 86 “87

ServiceTemplate class

for searching for services, 57 “58

ServiceTemplate object

fields, 61

ServiceType class

defined, 373

subclassed out of AbstractEntry, 47

ServiceType entry object

supplying images and other information in, 373 “374

serviceTypes field

ServiceTemplate object, 61

setuid method

settings for security, 183 “185

SimpleService program

running, 53

for unicast server, 52 “53

single listener

diagram of, 240

event registration, 239 “240

single thin proxy

building for a federation of CORBA objects, 345 “346

JavaRoom interface, 345 “346

RoomBookingBridge interface, 346

sleep( ) method

keeping MulticastRegister program alive with, 37 “38

smart file view application, 11 “13

SmartViewer application

use of, 12 “13

software applications

making into Jini services, 295 “296

Status class

subclassed out of AbstractEntry, 47

Sun extension package

for talking to serial and parallel ports, 297

sun-util.jar jar file

contents of, 20

superclasses

for exported stubs, 21

support services

use of by Jini, 13

system exceptions

CORBA methods, 344

  

Категории