Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 2.84 KB

File metadata and controls

89 lines (67 loc) · 2.84 KB

  1. summary Introduction to Objectify
  2. labels Featured
Objectify is a Java data access API specifically designed for the Google App Engine datastore. It's goals are to:

  * 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.

Overview

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.

Defining Entities

A simple entity:

Somewhat more complicated:

Basic Operations