1.4. JDO positioning

Before we move on to discuss a simple JDO example, I present in Table 1.1 a brief comparison of the persistence mechanisms discussed above. This is intended to help position JDO with respect to alternative persistence APIs. The superscripts1 through4 refer to notes that appear beneath the table.

Table 1.1. Comparison of persistence technologies
  Serialization JDBC ODBMS EJB JDO
Transactional
Query facility
Standard API ✓ java.io ✓ JDBC ✗ ODMG1 ✓ EJB ✓ JDO
Standard query language ✗ SQL2 ✗ OQL ✓ EJBQL ✓ JDOQL
Supported data store paradigm File system RDBMS ODBMS RDBMS, EAI, RDBMS, ODBMS, EAI File system, others
Transparent to closure of persistent instances
Transparent to domain model

Get Java™ Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.