Index_S

 < Day Day Up > 



S

Safety, See Program safety

definition, 412

Santa Claus problem, 91-92

Scope resolution modifiers, 376, 379, 380

Semaphore, See Binary semaphore

Serial interface, 110-111

Serialization, 110-113

data, 111-113

further reading, 119

interface, 110-111

Server, 388

chat program, 400-403

class implementation, 391-394

interface, 397, 398

Web, 30-31, 386

ServerImp Class program, 397

Servlets, 30, 31, 412

Setter methods, 339, 372

Simple animator program, 186-189

Simple memory model (SMM), 28-30, 412

Simple object access protocol (SOAP), 387

Simple virtual machine (SVM) model, 27-41

born, ready, and running states, 35

concurrent program execution model, 36-39

context switching, 34-38, 51

definition, 412

procedural program execution model, 32-34

simple memory model (SMM), 28-30

sleeping and blocked states, 39-40

Simulation

barber shop, 89-90

dining philosophers, 90-91

elevator, 87-89

Santa Claus, 91-92

gas station, See Gas station simulation

Skeleton class, 388-389

Skeleton file creation, 394

Sleep, random, 234

Sleeping state, 39-40

Sleep time, thread coordination using, 235-237

Sockets, 385, 386

Soft real time programs, 16

SortedPrintTable, 130, 140-145

exception handling, 156-159

using, 143-145

Source code control, 373

file names, 373-374

packages, 379-380

Spaghetti code, 320

Specification, 375

Stack

class template, 132

definition, 412

cleanup, 34, See also Garbage cleanup

further reading, 61

local identifiers on, 248-249, See also Identifiers

object, improper use of, 328, 329

simple virtual machine model, 28

unwinding, 166, 412

Stack trace, 161, 163-165

State diagrams, 69, 73, 74, 86

first-in/first-out binary semaphore, 263

further reading, 86

gas station simulation, 82

Stateless methods, 306, 312, 375-377

definition, 412

StraightLinePath, 184-186

StringTokenizer, 316

Stub class, 388-389

Stub file creation, 394

Swap methods, 122

Synchronization, 9-11, See also Concurrent programming; Threads

competitive, 10-11, 231, 409

complete, 13, 51, 410

cooperative, 10, 11, 410, See Cooperative synchronization

deadlock problems, See Deadlock

definition, 10, 412

importance and use of, 232

lock releasing, 54

monitors, 49, 51

race conditions, See Race conditions

Synchronized blocks, definition, 412

Synchronized modifier, 49-51

Synchronized run method program, 238-239

Synchronous activity, 7-8, 412



 < Day Day Up > 



Creating Components. Object Oriented, Concurrent, and Distributed Computing in Java
The .NET Developers Guide to Directory Services Programming
ISBN: 849314992
EAN: 2147483647
Year: 2003
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net