The code snippet shows how to get a PersistenceManagerFactory.

Java Code:
// set some properties for the JDO implementation and data store
Properties props = new Properties();
props.put(...);
// get a PersistenceManagerFactory
PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(props);