Download KLAVA: a Java package for distributed and mobile applications

Transcript
Contents
1
The Java package K LAVA
2
K LAVA: Basic Concepts and Architecture
2.1 Tuples . . . . . . . . . . . . . . . . . .
2.2 Tuple Spaces . . . . . . . . . . . . . .
2.3 Localities . . . . . . . . . . . . . . . .
2.4 Nodes . . . . . . . . . . . . . . . . . .
2.4.1 Node functionalities . . . . .
2.4.2 Node connectivity . . . . . .
2.4.3 Locality Resolution . . . . . .
2.5 Processes & Node Coordinators . . .
2.6 Some examples . . . . . . . . . . . .
2.7 Code mobility in K LAVA . . . . . . .
3
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
4
6
8
8
9
10
11
12
15
19
3
Programming Graphical Applications
23
4
Three Example Applications
4.1 A news gatherer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Load balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 A chat system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
27
30
35
References
44
2