This chapter presents some easy examples of how to start working with the TMAPI 1.0 release. It includes a simple example where a topic map is being created with the TMAPI interfaces. The second example is a bit more complex, it generates a topic map from a given directory. Therefore the IndexAPI is used. The last example extends the filesystem topic map example and generates an XTM file.
TMAPI is only an API for working with topic maps, so it is also shown how to run these examples with two different OpenSource TMAPI implementations (TM4J and tinyTIM). A list of all available TMAPI implementations (topic map engines) is available at the TMAPI website www.tmapi.org.
All examples can be found in the examples/ directory of the TMAPI 1.0 package.