Chapter 1. Kodo Sample Code
Prev | Part VI. Kodo JDO Examples | Next

## Chapter 1. Kodo Sample Code

The Kodo distribution comes with a number of examples that illustrate the usage of various features.

## 1.1. Using Application Identity

The files for this sample are located in the `samples/appid` directory of the Kodo installation. This sample shows how to use application identity. The GovernmentForm class uses a static inner class as its application identity class. The Main class is a simple JDO application that allows you to create and manipulate persistent GovernmentForm instances.

Prev | Up | Next
Part VI. Kodo JDO Examples | Home | 1.2. Using JDO with Java Server Pages (jsp)