Java 8 has reached end of support and will be deprecated on January 31, 2026. After deprecation, you won't be able to deploy Java 8 applications, even if your organization previously used an organization policy to re-enable deployments of legacy runtimes. Your existing Java 8 applications will continue to run and receive traffic after their deprecation date. We recommend that you migrate to the latest supported version of Java.

Using App Engine APIs with Datastore

Datastore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.

The pages in this section describe how to access Datastore with App Engine APIs. Apps that use these APIs can only run in App Engine and will need to upgrade to the recommended Google Cloud APIs before migrating to newer App Engine runtimes. The recommended APIs for Datastore are in the Google Cloud Client Library and enable your app to run in App Engine as well as other environments that support Java 8.

Using Objectify with Datastore

Instead of using App Engine APIs or Google Cloud APIs, you can use Objectify to access Datastore. Objectify is an open-source API for Cloud Datastore that provides a higher-level of abstraction than App Engine APIs and Google Cloud APIs. While apps that use earlier versions of Objectify can only run in App Engine, apps that use version 6 and later can run in App Engine as well as other environments that support Java 8.

If you plan to use Objectify, it's recommended that you use version 6 or later.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月17日 UTC.