Core Java Data Objects

"If debugging is the art of removing bugs , then programming must be the art of inserting them."

” Unknown

Becoming proficient with using JDO to build applications requires a thorough understanding of the JDO concepts as well as all the classes and interfaces defined in the javax.jdo and javax.jdo.spi packages. In this chapter, we explore these concepts in greater detail and look at all the classes and APIs defined by the JDO specification.

This chapter covers the following topics:

  • JDO concepts.

  • The names , roles, and relationships for all the JDO interfaces and classes.

  • Explanation for each method defined by the PersistenceManagerFactory , PersistenceManager , Transaction , Extent , Query , and InstanceCallbacks interfaces.

  • An overview of the JDO exception classes.

  • Explanation for each method defined by the JDOHelper and I18NHelper classes.

  • An overview of the classes and interfaces in the service provider interface package.

The examples for this chapter can be downloaded from the Internet at www.corejdo.com and are located in the com.corejdo.examples chapter 5 package; you can also use the persistence-capable classes contained in the com/corejdo/examples/model directory.

Категории