Core Java Data Objects

"I call architecture frozen music."

” Johann Wolfgang von Goethe

This chapter outlines the different types of application architectures that can be used with JDO, beyond the standalone, single-threaded Java applications that have been the focus of the book up to this point. Using JDO with these different architectures is not very different from using JDO to build a standalone application. The concepts and APIs are all the same. The only difference is how PersistenceManagerFactory , PersistenceManager and Transaction instances are used.

This chapter covers the following topics:

  • When to use JDO, and when to use JDBC

  • The different types of datastores that can be used with JDO

  • Using JDO with multi- tier applications

  • Differences when using JDO in managed and non-managed environments

  • Multi-threaded programming with JDO

Категории