Java 8 telah mencapai akhir dukungan
dan akan dihentikan penggunaannya
pada 31 Januari 2026. Setelah penghentian penggunaan, Anda tidak akan dapat men-deploy aplikasi Java 8, meskipun organisasi Anda sebelumnya menggunakan kebijakan organisasi untuk mengaktifkan kembali deployment runtime lama. Aplikasi Java 8 yang ada akan terus berjalan dan menerima traffic setelah
tanggal penghentiannya. Sebaiknya Anda bermigrasi ke versi Java terbaru yang didukung.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Datastore adalah database dokumen NoSQL yang dibuat untuk penskalaan otomatis, performa tinggi, dan kemudahan pengembangan aplikasi.
Halaman di bagian ini menjelaskan cara mengakses Datastore dengan App Engine API. Aplikasi yang menggunakan API ini hanya dapat berjalan di App Engine dan perlu diupgrade ke Google Cloud API yang direkomendasikan sebelum dimigrasikan ke runtime App Engine yang lebih baru. API yang direkomendasikan untuk Datastore ada di Library Klien Google Cloud dan memungkinkan aplikasi Anda berjalan di App Engine serta lingkungan lain yang mendukung Java 8.
Menggunakan Objectify dengan Datastore
Daripada menggunakan App Engine API atau Google Cloud API, Anda dapat menggunakan Objectify untuk mengakses Datastore.
Objectify adalah API open source untuk Cloud Datastore yang memberikan tingkat abstraksi lebih tinggi daripada App Engine API dan Google Cloud API. Meskipun aplikasi yang menggunakan Objectify versi sebelumnya hanya dapat berjalan di App Engine, aplikasi yang menggunakan versi 6 dan yang lebih baru dapat berjalan di App Engine serta lingkungan lain yang mendukung Java 8.
Jika Anda berencana menggunakan Objectify, sebaiknya gunakan versi 6 atau yang lebih baru.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 UTC."],[[["\u003cp\u003eThis API is designed for first-generation runtimes and is relevant when upgrading to second-generation runtimes.\u003c/p\u003e\n"],["\u003cp\u003eApps using these App Engine APIs can only run in App Engine and must upgrade to the recommended Google Cloud APIs before migrating to newer runtimes.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Cloud Client Library is the recommended API for Datastore and allows apps to run in App Engine and other environments.\u003c/p\u003e\n"],["\u003cp\u003eObjectify, an open-source API, offers a higher-level abstraction for accessing Datastore, and version 6 or later can run in multiple environments.\u003c/p\u003e\n"],["\u003cp\u003eWhile Objectify is mentioned, Google Cloud Platform does not provide direct support for this third-party library.\u003c/p\u003e\n"]]],[],null,["# Using App Engine APIs with Datastore\n\n| This API is supported for first-generation runtimes and can be used when [upgrading to corresponding second-generation runtimes](/appengine/docs/standard/\n| java-gen2\n|\n| /services/access). If you are updating to the App Engine Java 11/17 runtime, refer to the [migration guide](/appengine/migration-center/standard/migrate-to-second-gen/java-differences) to learn about your migration options for legacy bundled services.\n\n\u003cbr /\u003e\n\n[Datastore](/datastore/docs)\nis a NoSQL document database built for automatic scaling, high performance, and\nease of application development.\n\nThe pages in this section describe how to access Datastore with\n*App Engine APIs* . Apps that use these APIs can only run in\nApp Engine and will need to upgrade to the\n[recommended Google Cloud APIs](/datastore/docs/reference/libraries#client-libraries-install-java)\nbefore migrating to newer App Engine runtimes. The recommended APIs for\nDatastore are in the Google Cloud Client Library and enable your\napp to run in App Engine as well as other environments that support Java 8.\n\nUsing Objectify with Datastore\n------------------------------\n\nInstead of using App Engine APIs or Google Cloud APIs, you can use Objectify\nto access Datastore.\n[Objectify](https://github.com/objectify/objectify/wiki)\nis an open-source API for Cloud Datastore that provides a higher-level of\nabstraction than App Engine APIs and Google Cloud APIs. While apps that use\nearlier versions of Objectify can only run in App Engine, apps that\nuse version 6 and later can run in App Engine as well as other\nenvironments that support Java 8.\n\nIf you plan to use Objectify, it's recommended that you use version 6\nor later.\n| **Note:** The use of Objectify is shown for reference only. Google Cloud Platform does not provide support for the Objectify library, which is a third-party library."]]