- summary Introduction to Objectify
- labels Featured
* Be easy to learn and understand. * Support all native datastore features in an intuitive, human-friendly way. * Model sophisticated, strongly-typed, polymorphic data structures. * Enable modular, EJB-like transactional logic. * Increase performance and decrease cost through smart, transaction-aware caching. * Allow major schema migrations "in-place" with zero downtime. * Seamlessly coexist with other datastore tools: the Java Low-Level API, JDO/JPA, Twig, Go, Python DB and NDB.
Objectify provides a level of abstraction that is high enough to be convenient, but low enough not to obscure the key/value nature of the datastore. It is intended to be a Goldilocks API - not too low level, not too high level, just right.
This is a quick tour of what using Objectify looks like, intended to give you a taste of the framework. Full explanations can be found later in the documentation.
A simple entity:
Somewhat more complicated: