You use JDO Persistent Objects as follows:
-
Obtain a persistence manager.
-
Connect to a database.
-
Begin a transaction.
-
Work with the Java classes as usual (use JDOQL to find objects, create new objects, modify objects, delete objects, etc.).
-
Commit the transaction.