9.2. KodoHelper

The kodo.runtime.KodoHelper is a static helper class much like JDOHelper. KodoHelper, however, contains many convenience methods that JDOHelper does not have. with the KodoHelper, you can obtain a persistence manager factory from a file, resource name, stream, or JNDI location. See its Javadoc for details.

Example 9.3. Using the KodoHelper

import javax.jdo.*;
import kodo.runtime.*;


PersistenceManagerFactory pmf = KodoHelper.
    getPersistenceManagerFactory ("kodo.properties");