Logo
Sign in

Apache JDO (Java Data Objects) is a standard API for transparent persistence of Java objects. It allows developers to store and retrieve POJOs in various datastores including relational databases, object databases, and file systems, promoting separation of concerns and database independence.

Vendor

Vendor

The Apache Software Foundation

Company Website

Company Website

network_server.png
state_transition_update.png
Product details

Apache JDO

Apache JDO (Java Data Objects) is a standard API for transparent persistence of Java objects. It allows developers to store and retrieve Plain Old Java Objects (POJOs) in various datastores such as relational databases, object databases, and file systems. JDO separates data manipulation from database operations, promoting a clean architecture and database independence. It is developed under the Java Community Process and currently adheres to JSR-243 (JDO 3.2).

Features

  • Standardized API for object persistence
  • Support for relational, object, and file-based datastores
  • Separation of concerns between Java domain logic and database operations
  • Interfaces for PersistenceManager, Query, and Transaction
  • Metadata and enhancer APIs for dynamic class and schema generation
  • Support for annotations and XML-based configuration
  • Compatibility with Java versions up to Java 18

Capabilities

  • Transparent persistence of Java objects without requiring DTOs
  • Querying with typesafe and dynamic queries
  • Lifecycle management of persistent instances
  • Schema generation from object models and vice versa
  • Support for lazy loading, caching, and bidirectional relationships
  • Integration with Maven and other build tools

Benefits

  • Simplifies persistence logic with minimal boilerplate
  • Promotes clean separation between application and data layers
  • Enhances portability across different datastore types
  • Reduces development effort with automatic schema handling
  • Enables flexible and scalable data access strategies
  • Backed by a mature specification and open-source community