All the code samples used to illustrate this document are found in the samples/java/ subdirectory.
Ant, a Java-based build tool (“in theory, it is kind of like make, without make's wrinkles” say its authors), is needed to build and run these code samples.
build.xml, the ant build file needed to compile and run code samples, has been tested with ant version 1.7.
Compile the two samples by executing
ant in the
Run the first sample by executing
ant tsample1 in the
Run the second sample by executing
ant tsample2 in the