All of the code snippets in this book are self contained.
They use the reference cluster defined in the section called “Reference cluster”. All of the snippets should be run
through the domainmanager
node. Each snippet indicates
which application nodes on which it should be executed.
The conventions used for the snippets are:
All snippet package names start with
com.kabira.snippets
.
The package name is the chapter name. For example the
com.kabira.snippets.distributedcomputing
package
contains all snippets for the Distributed Computing chapter.
Each snippet has a single public class and zero or more nested classes to support the snippet.
The public class name is the feature or function that is being
demonstrated by the snippet. For example, the
class name is demonstrating flushing of Managed Objects.ObjectFlushing
Each public class has a main that runs the snippet.
No arguments are required to run the snippet.
The node(s) on which the snippet must be executed are indicated in the comments for the snippet.
domainname = Development
- run snippet on
all nodes.
domainnode =
<node
name>
- run the snippet against the specified
node.