objectify/objectify ↗
Created Feb 16, 2021 · View the objectify/objectify repository page
The simplest convenient interface to the Google Cloud Datastore
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
26
Lines of Code
13,046
From
Nov 27, 2009
To
Aug 31, 2020
About objectify/objectify
Objectify is a Java data access library designed specifically for Google Cloud Datastore, Google App Engine's NoSQL database. It provides a middle-ground approach between low-level APIs and heavier frameworks like JDO or JPA, aiming to be both beginner-friendly and feature-complete. The library allows developers to persist, retrieve, delete, and query strongly-typed Java objects while maintaining transparency about how the underlying datastore works.
The library surfaces all native Datastore features including batch operations, transactions, asynchronous operations, and polymorphic queries. It offers type-safe key and query classes using Java generics, a human-friendly query interface, and optional automatic caching through memcache for improved read performance. Notable features also include support for polymorphic entities with true polymorphic queries, a straightforward transaction model, and built-in utilities for managing schema migrations.
Objectify has evolved significantly across versions: versions 5 and earlier use the Google App Engine API for Java and are restricted to App Engine Standard environments, while version 6 and later use the Cloud Datastore API and can run from anywhere, including App Engine Standard and Flex, Google Compute Engine, or outside Google Cloud entirely. The project is thoroughly documented with a wiki, released through Maven Central Repository, and maintained with an extensive test suite and user support group.